aboutsummaryrefslogtreecommitdiffstats
path: root/test/Modules/Inputs/objcAtKeywordMissingEnd.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/Inputs/objcAtKeywordMissingEnd.h')
-rw-r--r--test/Modules/Inputs/objcAtKeywordMissingEnd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Modules/Inputs/objcAtKeywordMissingEnd.h b/test/Modules/Inputs/objcAtKeywordMissingEnd.h
new file mode 100644
index 000000000000..1196b87eef8e
--- /dev/null
+++ b/test/Modules/Inputs/objcAtKeywordMissingEnd.h
@@ -0,0 +1,3 @@
+@interface MissingEnd // expected-note {{class started here}}
+
+@ // expected-error {{expected an Objective-C directive after '@'}} expected-error {{missing '@end'}}