From 7301b42e362adb45120d4bb738deb18572ce4862 Mon Sep 17 00:00:00 2001 From: Edmund Grimley Evans Date: Sun, 22 Nov 2015 00:00:36 +0000 Subject: tccgen.c: Try to make sizeof(!x) work. tests/tests2/27_sizeof.*: Add test. --- tests/tests2/27_sizeof.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/tests2/27_sizeof.c') diff --git a/tests/tests2/27_sizeof.c b/tests/tests2/27_sizeof.c index d1694b6..5ae0ede 100644 --- a/tests/tests2/27_sizeof.c +++ b/tests/tests2/27_sizeof.c @@ -10,6 +10,8 @@ int main() printf("%d\n", sizeof(b)); printf("%d\n", sizeof(c)); + printf("%d\n", sizeof(!a)); + return 0; } -- cgit v1.3.1