1 // RUN: %clang_cc1 -triple x86_64 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s
9 @property _Complex int x1;
10 @property struct s0 x2;
13 // Check that we get exactly the message sends we expect, and no more.
15 // CHECK-LABEL: define{{.*}} void @f0
17 // CHECK: objc_msgSend
20 // CHECK: objc_msgSend
21 _Complex int l1 = (a.x1 = 1);
23 // CHECK: objc_msgSend
24 struct s0 l2 = (a.x2 = (struct s0) { 1 });
26 // CHECK: objc_msgSend
27 // CHECK: objc_msgSend
30 // CHECK: objc_msgSend
31 // CHECK: objc_msgSend
32 _Complex int l4 = (a.x1 += 1);
34 // CHECK-NOT: objc_msgSend