llvm-project
15 строк · 280.0 Байт
1// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
2
3@interface I1
4{
5int value;
6int value2;
7}
8@property int value;
9@property int value2;
10@end
11
12@implementation I1
13@synthesize value, - value2; // expected-error{{expected a property name}}
14@synthesize value2;
15@end
16