1*f4a2713aSLionel Sambuc// RUN: %clang -target i386-apple-darwin9 -miphoneos-version-min=3.0 -arch armv7 -flto -S -o - %s | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc// CHECK: @f0() [[F0:#[0-9]+]] 4*f4a2713aSLionel Sambuc// CHECK: @__f0_block_invoke 5*f4a2713aSLionel Sambuc// CHECK: void @f1 6*f4a2713aSLionel Sambuc// CHECK-NOT: msgSend_fixup_alloc 7*f4a2713aSLionel Sambuc// CHECK: OBJC_SELECTOR_REFERENCES 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambucint f0() { 10*f4a2713aSLionel Sambuc return ^(){ return 0; }(); 11*f4a2713aSLionel Sambuc} 12*f4a2713aSLionel Sambuc 13*f4a2713aSLionel Sambuc@interface I0 14*f4a2713aSLionel Sambuc@property (assign) int p0; 15*f4a2713aSLionel Sambuc@end 16*f4a2713aSLionel Sambuc 17*f4a2713aSLionel Sambuc@implementation I0 18*f4a2713aSLionel Sambuc@synthesize p0 = __sythesized_p0; 19*f4a2713aSLionel Sambuc@end 20*f4a2713aSLionel Sambuc 21*f4a2713aSLionel Sambuc@interface I1 22*f4a2713aSLionel Sambuc+(id) alloc; 23*f4a2713aSLionel Sambuc@end 24*f4a2713aSLionel Sambuc 25*f4a2713aSLionel Sambucvoid f1() { 26*f4a2713aSLionel Sambuc [I1 alloc]; 27*f4a2713aSLionel Sambuc} 28*f4a2713aSLionel Sambuc 29*f4a2713aSLionel Sambuc// CHECK: attributes [[F0]] = { ssp{{.*}} } 30