aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/scope-check.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/scope-check.c')
-rw-r--r--test/Sema/scope-check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/scope-check.c b/test/Sema/scope-check.c
index 7d293f2747..1df0186d90 100644
--- a/test/Sema/scope-check.c
+++ b/test/Sema/scope-check.c
@@ -146,7 +146,7 @@ L4:
void *Ptrs[] = {
&&L2, // Ok.
- &&L3 // expected-error {{address taken of label in protected scope, jump to it would have unknown effect on scope}}
+ &&L3 // expected-warning {{address taken of label in protected scope, jump to it would have unknown effect on scope}}
};
}