diff options
Diffstat (limited to 'clang/test/Parser/statements.c')
-rw-r--r-- | clang/test/Parser/statements.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/clang/test/Parser/statements.c b/clang/test/Parser/statements.c index 69ae13d3cb3..b3f043eaaaf 100644 --- a/clang/test/Parser/statements.c +++ b/clang/test/Parser/statements.c @@ -47,22 +47,3 @@ void test5() { if (0); } -void test6() { - if (sizeof (int){ 1}); // sizeof compound literal - if (sizeof (int)); // sizeof type - - (int)4; // cast. - (int){4}; // compound literal. - - // FIXME: change this to the struct version when we can. - //int A = (struct{ int a;}){ 1}.a; - int A = (int){ 1}.a; -} - -int test7(int a, int b) { - return a ? a,b : a; -} - -int test8(int a, int b) { - return a = b = c; -} |