From a9bb10d73916afee075fafc431a932b42d8b7500 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Fri, 15 Feb 2008 14:45:30 +0000 Subject: [PATCH] another compound literal test [r18867] --- parsetest/compoundlit2.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 parsetest/compoundlit2.c 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; +} -- 2.20.1