cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit 78ba6f387cddb2a9ee4f34aaef33dd080e024ce6
parent 003a6cc717b12756c7f2d4ff2c757ccb8297c15c
Author: Michael Forney <mforney@mforney.org>
Date:   Thu, 30 Jan 2020 23:39:40 -0800

Add test for sizeof string literal

This was regressed in d889bc80be and fixed in 090e2932ce.

Diffstat:
Atest/sizeof-string-literal.c | 1+
Atest/sizeof-string-literal.qbe | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/test/sizeof-string-literal.c b/test/sizeof-string-literal.c @@ -0,0 +1 @@ +int x = sizeof("abc"); diff --git a/test/sizeof-string-literal.qbe b/test/sizeof-string-literal.qbe @@ -0,0 +1 @@ +export data $x = align 4 { w 4, }