summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/objc-category-2/Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs/objc-category-2/Base.h')
-rw-r--r--clang/test/Modules/Inputs/objc-category-2/Base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/objc-category-2/Base.h b/clang/test/Modules/Inputs/objc-category-2/Base.h
new file mode 100644
index 00000000000..9bd8b17a87e
--- /dev/null
+++ b/clang/test/Modules/Inputs/objc-category-2/Base.h
@@ -0,0 +1,3 @@
+@interface DVTSourceModel // expected-error {{duplicate interface definition for class}} \
+ // expected-note {{previous definition is here}}
+@end
OpenPOWER on IntegriCloud