aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjCXX/property-object-conditional-exp.mm
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjCXX/property-object-conditional-exp.mm')
-rw-r--r--test/CodeGenObjCXX/property-object-conditional-exp.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGenObjCXX/property-object-conditional-exp.mm b/test/CodeGenObjCXX/property-object-conditional-exp.mm
index 0f44a2248a..826c351e79 100644
--- a/test/CodeGenObjCXX/property-object-conditional-exp.mm
+++ b/test/CodeGenObjCXX/property-object-conditional-exp.mm
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
struct CGRect {
char* origin;
@@ -22,6 +22,8 @@ extern "C" bool CGRectIsEmpty(CGRect);
CGRect dataRect;
CGRect virtualBounds;
+// CHECK: [[SRC:%.*]] = call %struct.CGRect bitcast (i8* (i8*, i8*, ...)* @objc_msgSend
+// CHECK-NEXT:store %struct.CGRect [[SRC]], %struct.CGRect*
dataRect = CGRectIsEmpty(virtualBounds) ? self.bounds : virtualBounds;
dataRect = CGRectIsEmpty(virtualBounds) ? [self bounds] : virtualBounds;
dataRect = CGRectIsEmpty(virtualBounds) ? virtualBounds : self.bounds;