Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Rewriter / rewrite-qualified-id.mm
blob96bc31c90cc69cec51c5b0188c9edd2025cb24eb
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
4 typedef void * id;
6 @protocol foo
7 @end
9 @interface CL
11   id <foo> changeSource;
12   CL <foo>* changeSource1;
14 @end
16 typedef struct x
18    id <foo> changeSource;
19 } x;