| 1 | // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s |
|---|---|
| 2 | // rdar://15450637. |
| 3 | |
| 4 | @interface NSObject @end |
| 5 | |
| 6 | @interface Foo : NSObject |
| 7 | @property int p __attribute__((section("__TEXT,foo"))); |
| 8 | @end |
| 9 | |
| 10 | @implementation Foo @end |
| 11 | |
| 12 | // CHECK: define internal i32 @"\01-[Foo p]"({{.*}} section "__TEXT,foo" { |
| 13 | // CHECK: define internal void @"\01-[Foo setP:]"({{.*}} section "__TEXT,foo" { |
| 14 |