summaryrefslogtreecommitdiff
path: root/test/Sema/statements.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/statements.c')
-rw-r--r--test/Sema/statements.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/statements.c b/test/Sema/statements.c
index 963b98fe56adc..f01ee40867150 100644
--- a/test/Sema/statements.c
+++ b/test/Sema/statements.c
@@ -36,7 +36,7 @@ bar:
// PR6034
void test11(int bit) {
- switch (bit)
+ switch (bit) // expected-warning {{switch statement has empty body}} expected-note {{put the semicolon on a separate line to silence this warning}}
switch (env->fpscr) // expected-error {{use of undeclared identifier 'env'}}
{
}