mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
e89d578fda
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95962 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
337 B
Objective-C
18 lines
337 B
Objective-C
// RUN: %llvmgcc -x objective-c -fwritable-strings -S %s -o - | FileCheck %s
|
|
// CHECK: @.str = private constant
|
|
// CHECK: @.str1 = internal global
|
|
|
|
// rdar://7634471
|
|
|
|
@class NSString;
|
|
|
|
@interface A
|
|
- (void)foo:(NSString*)msg;
|
|
- (void)bar:(const char*)msg;
|
|
@end
|
|
|
|
void func(A *a) {
|
|
[a foo:@"Hello world!"];
|
|
[a bar:"Goodbye world!"];
|
|
}
|