YouCompleteMe/cpp/llvm/tools/clang/test/Parser/objc-synthesized-recover.m
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

16 lines
280 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
@interface I1
{
int value;
int value2;
}
@property int value;
@property int value2;
@end
@implementation I1
@synthesize value, - value2; // expected-error{{expected a property name}}
@synthesize value2;
@end