1 /* PR rtl-optimization/28062 */
2 /* Original testcase by Martin Michlmayr <tbm@cyrius.com> */
3 /* C testcase by Andrew Pinski <pinskia@gcc.gnu.org> */
11 typedef struct _NSPoint NSPoint
;
14 NSMakePoint (float x
, float y
)
23 RelativePoint (NSPoint point
, NSPoint refPoint
)
25 return NSMakePoint (refPoint
.x
+ point
.x
, refPoint
.y
+ point
.y
);
28 NSPoint
g(NSPoint refPoint
)
31 return RelativePoint (NSMakePoint (0, pointA
), refPoint
);