Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Rewriter / rewrite-property-attributes.mm
blob5d70147fdc8753c1863d6c9f44b3faee6a724184
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 -std=gnu++98 -Wno-address-of-temporary  -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
4 typedef void (^void_block_t)(void);
6 @interface Y {
7     void_block_t __completion;
8     Y* YVAR;
9     id ID;
11 @property (copy) void_block_t completionBlock;
12 @property (retain) Y* Yblock;
13 @property (copy) id ID;
14 @end
16 @implementation Y
17 @synthesize completionBlock=__completion;
18 @synthesize Yblock = YVAR;
19 @synthesize  ID;
20 @end