summaryrefslogtreecommitdiff
path: root/test/FrontendObjC++/2007-10-03-MetadataPointers.mm
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendObjC++/2007-10-03-MetadataPointers.mm')
-rw-r--r--test/FrontendObjC++/2007-10-03-MetadataPointers.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/FrontendObjC++/2007-10-03-MetadataPointers.mm b/test/FrontendObjC++/2007-10-03-MetadataPointers.mm
new file mode 100644
index 000000000000..5975e38f873d
--- /dev/null
+++ b/test/FrontendObjC++/2007-10-03-MetadataPointers.mm
@@ -0,0 +1,7 @@
+// RUN: %llvmgcc -w -x objective-c++ -c %s -o /dev/null
+
+@class NSImage;
+void bork() {
+ NSImage *nsimage;
+ [nsimage release];
+}