1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -emit-llvm -triple i386-apple-macosx10.7.2 %s -o - | FileCheck %s 2*f4a2713aSLionel Sambuc// rdar://10331109 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc@interface CNumber 5*f4a2713aSLionel Sambuc- (double _Complex)sum; 6*f4a2713aSLionel Sambuc@end 7*f4a2713aSLionel Sambuc 8*f4a2713aSLionel Sambucdouble _Complex foo(CNumber *x) { 9*f4a2713aSLionel Sambuc return [x sum]; 10*f4a2713aSLionel Sambuc} 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc// CHECK: [[R:%.*]] = phi double [ [[R1:%.*]], [[MSGCALL:%.*]] ], [ 0.000000e+00, [[NULLINIT:%.*]] ] 13*f4a2713aSLionel Sambuc// CHECK-NEXT: [[I:%.*]] = phi double [ [[I1:%.*]], [[MSGCALL]] ], [ 0.000000e+00, [[NULLINIT]] ] 14*f4a2713aSLionel Sambuc// CHECK: store double [[R]] 15*f4a2713aSLionel Sambuc// CHECK: store double [[I]] 16