Issues good diagnostic when @end is missing.
// rdar://8283484


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118629 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/missing-end-3.m b/test/Parser/missing-end-3.m
new file mode 100644
index 0000000..3b22637
--- /dev/null
+++ b/test/Parser/missing-end-3.m
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+// rdar://8283484
+@interface blah {
+    @private
+}
+// since I forgot the @end here it should say something
+
+@interface blah  // expected-error {{missing @end}}
+@end // and Unknown type name 'end' here
+