1// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp 2// RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp 3// radar 7680953 4 5typedef void * id; 6 7@protocol foo 8@end 9 10@interface CL 11{ 12 id <foo> changeSource; 13 CL <foo>* changeSource1; 14} 15@end 16 17typedef struct x 18{ 19 id <foo> changeSource; 20} x; 21 22