1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
2 // expected-no-diagnostics
9 typedef struct CGPoint CGPoint;
15 typedef struct CGSize CGSize;
21 typedef struct CGRect CGRect;
23 typedef CGRect NSRect;
25 void HappySetFrame(NSRect frame) {}
27 __attribute__((objc_root_class))
28 @interface NSObject @end
30 @implementation NSObject
31 - (void) sadSetFrame: (NSRect)frame {}
35 HappySetFrame({{0,0}, {13,14}});
36 [self sadSetFrame: {{0,0}, {13,14}}];