diff options
Diffstat (limited to 'test/SemaCXX/goto.cpp')
-rw-r--r-- | test/SemaCXX/goto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/goto.cpp b/test/SemaCXX/goto.cpp index 24bcb7c51673..042ec3cd8035 100644 --- a/test/SemaCXX/goto.cpp +++ b/test/SemaCXX/goto.cpp @@ -118,7 +118,7 @@ namespace PR10620 { namespace test12 { struct A { A(); A(const A&); ~A(); }; - void test(A a) { // expected-note {{jump enters lifetime of block}} FIXME: wierd location + void test(A a) { // expected-note {{jump enters lifetime of block}} FIXME: weird location goto lbl; // expected-error {{goto into protected scope}} (void) ^{ (void) a; }; lbl: |