commit | 94cdb25a49bd3716ab56ef6de0ea57d29e686bf2 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Thu Jan 10 17:58:07 2008 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Thu Jan 10 17:58:07 2008 +0000 |
tree | 9b40e0d76446d46b5ef2cbf7ce6a0d3402d8e0c0 | |
parent | fea89c2020c02d902735f7b02658b92e102d9ae0 [diff] [blame] |
Warn (as gcc does) when @end does not close anything. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45834 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/objc-missing-impl.m b/test/Parser/objc-missing-impl.m new file mode 100644 index 0000000..062130d --- /dev/null +++ b/test/Parser/objc-missing-impl.m
@@ -0,0 +1,2 @@ +// RUN: clang -fsyntax-only -verify %s +@end // expected-warning {{‘@end’ must appear in an @implementation context}}