blob: a7910a047be8c0ca802bcdda6cc2c941717d5513 [file] [log] [blame]
John McCalld1e40d52011-10-02 01:16:38 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck %s
Fariborz Jahanian3d4aeda2010-07-24 00:34:08 +00002// rdar: // 8203426
3
4
5typedef double CGFloat;
6struct CGPoint {
7 CGFloat x;
8 CGFloat y;
9};
10typedef struct CGPoint CGPoint;
11
12
13
14struct CGSize {
15 CGFloat width;
16 CGFloat height;
17};
18typedef struct CGSize CGSize;
19
20
21struct CGRect {
22 CGPoint origin;
23 CGSize size;
24};
25typedef struct CGRect CGRect;
26
27@interface UIView {
28}
29@property CGRect frame;
30@end
31
32@interface crashclass : UIView {
33
34}
35
36@end
37
38@implementation crashclass
39- (void)setFrame:(CGRect)frame
40{
41 super.frame = frame;
42 [super setFrame:frame];
43}
44
45@end
46// CHECK-NOT: declare void @objc_msgSendSuper2_stret
47// CHECK: declare i8* @objc_msgSendSuper2