[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git] / clang / test / Rewriter / rewrite-property-attributes.mm
blob0c7871c6d4f7226f3ad0b306b006baa25e9634d1
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
3 // radar 7214439
5 typedef void (^void_block_t)(void);
7 @interface Y {
8     void_block_t __completion;
9     Y* YVAR;
10     id ID;
12 @property (copy) void_block_t completionBlock;
13 @property (retain) Y* Yblock;
14 @property (copy) id ID;
15 @end
17 @implementation Y
18 @synthesize completionBlock=__completion;
19 @synthesize Yblock = YVAR;
20 @synthesize  ID;
21 @end