diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2009-11-22 17:42:02 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2009-11-22 17:42:02 +0000 |
commit | 11e6b0a0cc3664b1037c39a901bfc52e72161bf1 (patch) | |
tree | 9c1cf4caf8d99947cda11f87d4a67e092f0f869c | |
parent | 42dbcc4d8f0c483693befc76f37ca6dc4e0844e1 (diff) |
Test case for bug fixed in r89457.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89605 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenObjC/undefined-protocol.m | 6 |
1 files changed, 6 insertions, 0 deletions
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 <MadeUpProtocol> @end +@implementation Object @end |