You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
399 B
14 lines
399 B
4 months ago
|
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
|
||
|
// rdar://15450637.
|
||
|
|
||
|
@interface NSObject @end
|
||
|
|
||
|
@interface Foo : NSObject
|
||
|
@property int p __attribute__((section("__TEXT,foo")));
|
||
|
@end
|
||
|
|
||
|
@implementation Foo @end
|
||
|
|
||
|
// CHECK: define internal i32 @"\01-[Foo p]"({{.*}} section "__TEXT,foo" {
|
||
|
// CHECK: define internal void @"\01-[Foo setP:]"({{.*}} section "__TEXT,foo" {
|