]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Rewriter/rewrite-qualified-id.mm
Vendor import of clang release_38 branch r258549:
[FreeBSD/FreeBSD.git] / test / Rewriter / rewrite-qualified-id.mm
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
5 typedef 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
17 typedef struct x
18 {
19    id <foo> changeSource;
20 } x;
21