[llvm-commits] [llvm] r59992 - /llvm/trunk/test/FrontendObjC/2008-11-24-ConstCFStrings.m

Bill Wendling isanbard at gmail.com
Mon Nov 24 15:28:09 PST 2008


Author: void
Date: Mon Nov 24 17:28:09 2008
New Revision: 59992

URL: http://llvm.org/viewvc/llvm-project?rev=59992&view=rev
Log:
Testcase for constant CFStrings.

Added:
    llvm/trunk/test/FrontendObjC/2008-11-24-ConstCFStrings.m

Added: llvm/trunk/test/FrontendObjC/2008-11-24-ConstCFStrings.m
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2008-11-24-ConstCFStrings.m?rev=59992&view=auto

==============================================================================
--- llvm/trunk/test/FrontendObjC/2008-11-24-ConstCFStrings.m (added)
+++ llvm/trunk/test/FrontendObjC/2008-11-24-ConstCFStrings.m Mon Nov 24 17:28:09 2008
@@ -0,0 +1,11 @@
+// RUN: %llvmgcc -x objective-c -m64 -S %s -o - | grep {L_unnamed_cfstring_}
+
+ at class NSString;
+
+ at interface A
+- (void)bork:(NSString*)msg;
+ at end
+
+void func(A *a) {
+  [a bork:@"Hello world!"];
+}





More information about the llvm-commits mailing list