From 78ba6f387cddb2a9ee4f34aaef33dd080e024ce6 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Thu, 30 Jan 2020 23:39:40 -0800 Subject: Add test for sizeof string literal This was regressed in d889bc80be and fixed in 090e2932ce. --- test/sizeof-string-literal.c | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/sizeof-string-literal.c (limited to 'test/sizeof-string-literal.c') 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"); -- cgit v1.2.3