[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Parser / objc-synthesized-recover.m
blobc281c21000d02133f9e413d945086a66640c979d
1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
3 @interface I1 
5   int value;
6   int value2;
8 @property int value;
9 @property int value2;
10 @end
12 @implementation I1
13 @synthesize value, - value2; // expected-error{{expected a property name}}
14 @synthesize value2;
15 @end