aboutsummaryrefslogtreecommitdiff
path: root/tests/tcctest.c
diff options
context:
space:
mode:
authorJoe Soroka <gits@joesoroka.com>2011-03-18 17:45:43 -0700
committerJoe Soroka <gits@joesoroka.com>2011-03-18 17:45:43 -0700
commit4062d787daf10be5a4ea48854330eb17123fd2d5 (patch)
tree646a918acef6763bff5cdad401f9293848dc2b5a /tests/tcctest.c
parent0b8aa909a39e75a6c6da0afedaa6c3ab70c6a0d0 (diff)
downloadtinycc-4062d787daf10be5a4ea48854330eb17123fd2d5.tar.gz
tinycc-4062d787daf10be5a4ea48854330eb17123fd2d5.tar.bz2
sizeof(struct with "flexible array member") is wrong
Diffstat (limited to 'tests/tcctest.c')
-rw-r--r--tests/tcctest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index aaa5777..df0a0c6 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -1403,6 +1403,7 @@ void init_test(void)
cix[0].b[1].a, cix[0].b[1].b,
cix[0].b[2].a, cix[0].b[2].b);
printf("cix2: %d %d\n", cix21.b[2], cix22.b[5]);
+ printf("sizeof cix21 %d, sizeof cix22 %d\n", sizeof cix21, sizeof cix22);
}