From: Matthias Braun Date: Fri, 15 Feb 2008 14:45:30 +0000 (+0000) Subject: another compound literal test X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=a9bb10d73916afee075fafc431a932b42d8b7500;p=cparser another compound literal test [r18867] --- diff --git a/parsetest/compoundlit2.c b/parsetest/compoundlit2.c new file mode 100644 index 0000000..e2ef264 --- /dev/null +++ b/parsetest/compoundlit2.c @@ -0,0 +1,8 @@ +int main(void) { + int k = sizeof( (int[]) { 1, 2, 3 } ) / sizeof(int); + + if(k != 3) + return 1; + + return 0; +}