1// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck %s 2 3typedef double CGFloat; 4struct CGPoint { 5 CGFloat x; 6 CGFloat y; 7}; 8typedef struct CGPoint CGPoint; 9 10 11 12struct CGSize { 13 CGFloat width; 14 CGFloat height; 15}; 16typedef struct CGSize CGSize; 17 18 19struct CGRect { 20 CGPoint origin; 21 CGSize size; 22}; 23typedef struct CGRect CGRect; 24 25@interface UIView { 26} 27@property CGRect frame; 28@end 29 30@interface crashclass : UIView { 31 32} 33 34@end 35 36@implementation crashclass 37- (void)setFrame:(CGRect)frame 38{ 39 super.frame = frame; 40 [super setFrame:frame]; 41} 42 43@end 44// CHECK-NOT: declare void @objc_msgSendSuper2_stret 45// CHECK: declare ptr @objc_msgSendSuper2 46