brintos

brintos / llvm-project-archived public Read only

0
0
Text · 564 B · 79d3bc8 Raw
30 lines · plain
1// RUN: %clang -target i386-apple-darwin -miphoneos-version-min=5.0 -arch armv7 -stdlib=platform -flto -S -o - %s | FileCheck %s2 3// CHECK: @f0() [[F0:#[0-9]+]]4// CHECK: @__f0_block_invoke5// CHECK: void @f16// CHECK-NOT: msgSend_fixup_alloc7// CHECK: OBJC_SELECTOR_REFERENCES8 9int f0(void) {10  return ^(void){ return 0; }();11}12 13@interface I014@property (assign) int p0;15@end16 17@implementation I018@synthesize p0 = __sythesized_p0;19@end20 21@interface I122+(id) alloc;23@end24 25void f1(void) {26  [I1 alloc];27}28 29// CHECK: attributes [[F0]] = { noinline  optnone ssp{{.*}} }30