From 11e6b0a0cc3664b1037c39a901bfc52e72161bf1 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Sun, 22 Nov 2009 17:42:02 +0000 Subject: Test case for bug fixed in r89457. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89605 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenObjC/undefined-protocol.m | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CodeGenObjC/undefined-protocol.m diff --git a/test/CodeGenObjC/undefined-protocol.m b/test/CodeGenObjC/undefined-protocol.m new file mode 100644 index 0000000000..7fe0790032 --- /dev/null +++ b/test/CodeGenObjC/undefined-protocol.m @@ -0,0 +1,6 @@ +// RUN: clang-cc -emit-llvm-only -fgnu-runtime %s + +@protocol MadeUpProtocol; + +@interface Object @end +@implementation Object @end -- cgit v1.2.3-18-g5258