aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/objc-missing-impl.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/objc-missing-impl.m')
-rw-r--r--test/Parser/objc-missing-impl.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Parser/objc-missing-impl.m b/test/Parser/objc-missing-impl.m
new file mode 100644
index 000000000000..9108451f1bff
--- /dev/null
+++ b/test/Parser/objc-missing-impl.m
@@ -0,0 +1,2 @@
+// RUN: clang-cc -fsyntax-only -verify %s
+@end // expected-warning {{@end must appear in an @implementation context}}