summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2009-11-22 17:42:02 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2009-11-22 17:42:02 +0000
commit27033c9171d0549db8829149b4da90d574de8a9f (patch)
tree802ff4fc49052ee715e0bf44d03fc399967d8436 /clang/test/CodeGenObjC
parent072094407d926cb9253171e022912c92a6498ae5 (diff)
downloadbcm5719-llvm-27033c9171d0549db8829149b4da90d574de8a9f.tar.gz
bcm5719-llvm-27033c9171d0549db8829149b4da90d574de8a9f.zip
Test case for bug fixed in r89457.
llvm-svn: 89605
Diffstat (limited to 'clang/test/CodeGenObjC')
-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 00000000000..7fe0790032a
--- /dev/null
+++ b/clang/test/CodeGenObjC/undefined-protocol.m
@@ -0,0 +1,6 @@
+// RUN: clang-cc -emit-llvm-only -fgnu-runtime %s
+
+@protocol MadeUpProtocol;
+
+@interface Object <MadeUpProtocol> @end
+@implementation Object @end
OpenPOWER on IntegriCloud