1 // RUN: %clang_cc1 -emit-llvm -o %t %s
7 typedef struct {int x, y, w, h;} st1;
8 typedef struct {int x, y, w, h;} st2;
10 @interface bar : Object
11 - (void)setFrame:(st1)frameRect;
14 @interface bar1 : Object
15 - (void)setFrame:(int)frameRect;
18 @interface foo : Object
22 @property (assign) st2 frame;
26 @synthesize frame = ivar;
31 static st2 r = {1,2,3,4};
35 id objid = [foo new];;
39 ((foo*)objid).frame = obj.frame;
41 return ((foo*)objid).frame;
47 if (res.x != 1 || res.h != 4)