diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Parser/statements.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Parser/statements.c b/test/Parser/statements.c index b3f043eaaa..db2ec628ee 100644 --- a/test/Parser/statements.c +++ b/test/Parser/statements.c @@ -1,4 +1,4 @@ -// RUN: clang -fsyntax-only %s +// RUN: clang -fsyntax-only -verify %s int test1() { { ; { ;;}} ;; @@ -31,19 +31,19 @@ int test3() { } int test4() { - if (0); + if (0); // expected-warning {{if statement has empty body}} int X; // declaration in a block. -foo: if (0); +foo: if (0); // expected-warning {{if statement has empty body}} } typedef int t; void test5() { - if (0); + if (0); // expected-warning {{if statement has empty body}} - //t x = 0; // FIXME: Enable when handling of typedef names is impl. + t x = 0; - if (0); + if (0); // expected-warning {{if statement has empty body}} } |