diff options
author | Erik Verbruggen <erikjv@me.com> | 2011-12-06 09:25:23 +0000 |
---|---|---|
committer | Erik Verbruggen <erikjv@me.com> | 2011-12-06 09:25:23 +0000 |
commit | d64251fd56577dd5c78903454632361e094c6dc1 (patch) | |
tree | 998c7c959649aae3022c18f33c834f6c345b45c8 /test/Parser/missing-end-3.m | |
parent | 26b45d86085a125af036dbcf85dad3087b664ab2 (diff) |
Extend warnings for missing '@end'.
Fixes PR2709.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145928 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/missing-end-3.m')
-rw-r--r-- | test/Parser/missing-end-3.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Parser/missing-end-3.m b/test/Parser/missing-end-3.m index 3b226376dc..4875ecdd62 100644 --- a/test/Parser/missing-end-3.m +++ b/test/Parser/missing-end-3.m @@ -1,10 +1,10 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // rdar://8283484 -@interface blah { +@interface blah { // expected-note {{class started here}} @private } // since I forgot the @end here it should say something -@interface blah // expected-error {{missing @end}} +@interface blah // expected-error {{missing '@end'}} @end // and Unknown type name 'end' here |