commit | 1a8dcaf20aa59a039eb78f3fea98091f4d736c07 | [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 | 5dd76024b859b963a5ee57ba67662c4c734a450c [diff] |
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}}