~mcf/cproc

78ba6f387cddb2a9ee4f34aaef33dd080e024ce6 — Michael Forney 21 days ago 003a6cc
Add test for sizeof string literal

This was regressed in d889bc80be and fixed in 090e2932ce.
2 files changed, 2 insertions(+), 0 deletions(-)

A test/sizeof-string-literal.c
A test/sizeof-string-literal.qbe
A test/sizeof-string-literal.c => test/sizeof-string-literal.c +1 -0
@@ 0,0 1,1 @@
int x = sizeof("abc");

A test/sizeof-string-literal.qbe => test/sizeof-string-literal.qbe +1 -0
@@ 0,0 1,1 @@
export data $x = align 4 { w 4, }