llvm.org GIT mirror llvm / release_28 test / FrontendObjC / 2008-11-24-ConstCFStrings.m
release_28

Tree @release_28 (Download .tar.gz)

2008-11-24-ConstCFStrings.m @release_28raw · history · blame

// RUN: %llvmgcc -x objective-c -m64 -S %s -o - | grep {L_unnamed_cfstring_}

@class NSString;

@interface A
- (void)bork:(NSString*)msg;
@end

void func(A *a) {
  [a bork:@"Hello world!"];
}