• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: %clang_cc1 -triple x86_64-apple-darwin10  -emit-llvm %s -o -  | FileCheck %s
2// 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
48