Fix the clang-wpa example.
[clang.git] / test / CodeGenObjC / super-dotsyntax-struct-property.m
blobaac4c1de06a3893ae5cd06ba1e29b0445e3643d6
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10  -fobjc-nonfragile-abi -emit-llvm %s -o -  | FileCheck %s
2 // rdar: // 8203426
5 typedef double CGFloat;
6 struct CGPoint {
7   CGFloat x;
8   CGFloat y;
9 };
10 typedef struct CGPoint CGPoint;
14 struct CGSize {
15   CGFloat width;
16   CGFloat height;
18 typedef struct CGSize CGSize;
21 struct CGRect {
22   CGPoint origin;
23   CGSize size;
25 typedef struct CGRect CGRect;
27 @interface UIView {
29 @property CGRect frame;
30 @end
32 @interface crashclass : UIView {
36 @end
38 @implementation crashclass
39 - (void)setFrame:(CGRect)frame
41         super.frame = frame;
42         [super setFrame:frame];
45 @end
46 // CHECK-NOT: declare void @objc_msgSendSuper2_stret
47 // CHECK: declare i8* @objc_msgSendSuper2