1 // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
2 // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
8 @protocol P2<ROOT> @end
12 @protocol PROTO <P1, P2>
14 + (id) CLASS_METHOD : (id)ARG;
15 @property id Prop_in_PROTO;
17 - (id) opt_instance_method;
18 + (id) opt_class_method;
19 @property (readonly, retain) NSObject *AnotherProperty;
23 - (id) X_opt_instance_method;
24 + (id) X_opt_class_method;
27 @interface INTF <PROTO, ROOT>