aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/objc-synthesized-recover.m
blob: 3f04a8c21d39236ea493a0767d9a0a9d39b2c19c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang_cc1 -fsyntax-only -verify %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