diff options
Diffstat (limited to 'clang/test/Parser/cxx-condition.cpp')
-rw-r--r-- | clang/test/Parser/cxx-condition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Parser/cxx-condition.cpp b/clang/test/Parser/cxx-condition.cpp index 552d8236246..5b078429299 100644 --- a/clang/test/Parser/cxx-condition.cpp +++ b/clang/test/Parser/cxx-condition.cpp @@ -5,7 +5,7 @@ void f() { while (a) ; while (int x) ; // expected-error {{expected '=' after declarator}} while (float x = 0) ; - if (const int x = a) ; // expected-warning{{empty body}} + if (const int x = a) ; // expected-warning{{empty body}} expected-note{{put the semicolon on a separate line to silence this warning}} switch (int x = a+10) {} for (; int x = ++a; ) ; } |