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