| // RUN: %clang_cc1 -parse-noop -verify %s |
| if (sizeof (int){ 1}); // sizeof compound literal |
| if (sizeof (int)); // sizeof type |
| (int){4}; // compound literal. |
| // FIXME: change this to the struct version when we can. |
| //int A = (struct{ int a;}){ 1}.a; |
| int test2(int a, int b) { |
| int test3(int a, int b, int c) { |
| // FIXME: change into something that is semantically correct. |
| __builtin_offsetof(int, a.b.c[4][5]); |
| int test_leading_extension() { |
| __extension__ (*(char*)0) = 1; |
| return test5( // expected-note {{to match}} |
| ; // expected-error {{expected ')'}} |