1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
7 typedef struct CGRect CGRect;
9 extern "C" bool CGRectIsEmpty(CGRect);
14 @property CGRect bounds;
25 // CHECK: [[SRC:%.*]] = call %struct.CGRect bitcast (i8* (i8*, i8*, ...)* @objc_msgSend
26 // CHECK-NEXT:store %struct.CGRect [[SRC]], %struct.CGRect*
27 dataRect = CGRectIsEmpty(virtualBounds) ? self.bounds : virtualBounds;
28 dataRect = CGRectIsEmpty(virtualBounds) ? [self bounds] : virtualBounds;
29 dataRect = CGRectIsEmpty(virtualBounds) ? virtualBounds : self.bounds;
31 dataRect = CGRectIsEmpty(virtualBounds) ? self.out : virtualBounds;
32 dataRect = CGRectIsEmpty(virtualBounds) ? [self out] : virtualBounds;
33 dataRect = CGRectIsEmpty(virtualBounds) ? virtualBounds : self.out;
37 - (CGRect) out { return out; }