]> granicus.if.org Git - clang/commitdiff
Test case for bug fixed in r89457.
authorDavid Chisnall <csdavec@swan.ac.uk>
Sun, 22 Nov 2009 17:42:02 +0000 (17:42 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Sun, 22 Nov 2009 17:42:02 +0000 (17:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89605 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/undefined-protocol.m [new file with mode: 0644]

diff --git a/test/CodeGenObjC/undefined-protocol.m b/test/CodeGenObjC/undefined-protocol.m
new file mode 100644 (file)
index 0000000..7fe0790
--- /dev/null
@@ -0,0 +1,6 @@
+// RUN: clang-cc -emit-llvm-only -fgnu-runtime %s
+
+@protocol MadeUpProtocol;
+
+@interface Object <MadeUpProtocol> @end
+@implementation Object @end