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
29 - (int) meth : (I*) arg {
38 @property int PROP_INMAIN;
44 @property int PROP_INCLASSEXT;
48 @synthesize PROP_INMAIN, PROP_INCLASSEXT;
53 protected_ivar = 1; // OK
54 return private_ivar; // OK
64 protected_ivar = 1; // OK