1 // RUN: %clang_cc1 -fsyntax-only -fdebugger-support -verify -Wno-objc-root-class %s
2 // RUN: %clang_cc1 -x objective-c++ -fdebugger-support -fsyntax-only -verify -Wno-objc-root-class %s
3 // expected-no-diagnostics
30 - (int) meth : (I*) arg {
39 @property int PROP_INMAIN;
45 @property int PROP_INCLASSEXT;
49 @synthesize PROP_INMAIN, PROP_INCLASSEXT;
54 protected_ivar = 1; // OK
55 return private_ivar; // OK
65 protected_ivar = 1; // OK