Home | History | Annotate | Download | only in Parser
      1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
      2 
      3 @interface I1 
      4 {
      5   int value;
      6   int 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