summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/undefined-protocol.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/undefined-protocol.m')
-rw-r--r--clang/test/CodeGenObjC/undefined-protocol.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/undefined-protocol.m b/clang/test/CodeGenObjC/undefined-protocol.m
new file mode 100644
index 0000000..d87a5c9
--- /dev/null
+++ b/clang/test/CodeGenObjC/undefined-protocol.m
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -emit-llvm-only -fgnu-runtime %s
+
+@protocol MadeUpProtocol;
+
+@interface Object <MadeUpProtocol> @end
+@implementation Object @end