[llvm-commits] [llvm] r42609 - /llvm/trunk/test/FrontendObjC/2007-10-03-MetadataPointers.mm
Bill Wendling
isanbard at gmail.com
Thu Oct 4 11:46:07 PDT 2007
Author: void
Date: Thu Oct 4 13:46:06 2007
New Revision: 42609
URL: http://llvm.org/viewvc/llvm-project?rev=42609&view=rev
Log:
Added testcase for creation of metadata with null pointers.
Added:
llvm/trunk/test/FrontendObjC/2007-10-03-MetadataPointers.mm
Added: llvm/trunk/test/FrontendObjC/2007-10-03-MetadataPointers.mm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2007-10-03-MetadataPointers.mm?rev=42609&view=auto
==============================================================================
--- llvm/trunk/test/FrontendObjC/2007-10-03-MetadataPointers.mm (added)
+++ llvm/trunk/test/FrontendObjC/2007-10-03-MetadataPointers.mm Thu Oct 4 13:46:06 2007
@@ -0,0 +1,7 @@
+// RUN: %llvmgcc -x objective-c++ -c %s -o /dev/null
+
+ at class NSImage;
+void bork() {
+ NSImage *nsimage;
+ [nsimage release];
+}
More information about the llvm-commits
mailing list