diff options
Diffstat (limited to 'test/Parser/declarators.c')
-rw-r--r-- | test/Parser/declarators.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Parser/declarators.c b/test/Parser/declarators.c index e245adb..a7a01d8 100644 --- a/test/Parser/declarators.c +++ b/test/Parser/declarators.c @@ -97,3 +97,6 @@ void *test14b = (void*)test14a; // Make sure test14a didn't get skipped. // rdar://problem/8358508 long struct X { int x; } test15(); // expected-error {{'long struct' is invalid}} + +void test16(i) int i j; { } // expected-error {{expected ';' at end of declaration}} +void test17(i, j) int i, j k; { } // expected-error {{expected ';' at end of declaration}} |