blob: 428b65563cc34430cec35d67b049f2186977b3d4 [file] [log] [blame]
John McCall260611a2012-06-20 06:18:46 +00001// 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
Fariborz Jahanian5f1c45f2010-02-23 21:34:38 +00002// 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