summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjCXX/2007-10-03-MetadataPointers.mm
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjCXX/2007-10-03-MetadataPointers.mm')
-rw-r--r--clang/test/CodeGenObjCXX/2007-10-03-MetadataPointers.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjCXX/2007-10-03-MetadataPointers.mm b/clang/test/CodeGenObjCXX/2007-10-03-MetadataPointers.mm
new file mode 100644
index 0000000..2564d67
--- /dev/null
+++ b/clang/test/CodeGenObjCXX/2007-10-03-MetadataPointers.mm
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
+
+@class NSImage;
+void bork() {
+ NSImage *nsimage;
+ [nsimage release];
+}