46 lines · plain
1// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck %s2 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@end29 30@interface crashclass : UIView {31 32}33 34@end35 36@implementation crashclass37- (void)setFrame:(CGRect)frame38{39 super.frame = frame;40 [super setFrame:frame];41}42 43@end44// CHECK-NOT: declare void @objc_msgSendSuper2_stret45// CHECK: declare ptr @objc_msgSendSuper246