diff options
author | Michael Forney <mforney@mforney.org> | 2020-01-30 23:39:40 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2020-01-30 23:40:37 -0800 |
commit | 78ba6f387cddb2a9ee4f34aaef33dd080e024ce6 (patch) | |
tree | d9b5af8c9df31113853075c4eb0fa8b83a6e5459 /test/sizeof-string-literal.c | |
parent | 003a6cc717b12756c7f2d4ff2c757ccb8297c15c (diff) |
Add test for sizeof string literal
This was regressed in d889bc80be and fixed in 090e2932ce.
Diffstat (limited to 'test/sizeof-string-literal.c')
-rw-r--r-- | test/sizeof-string-literal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sizeof-string-literal.c b/test/sizeof-string-literal.c new file mode 100644 index 0000000..9042d82 --- /dev/null +++ b/test/sizeof-string-literal.c @@ -0,0 +1 @@ +int x = sizeof("abc"); |