1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 typedef signed char BOOL;
4 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
7 - (BOOL) isEqual:(id) object;
11 - (void) encodeWithCoder:(NSCoder *) aCoder;
14 @interface NSObject < NSObject > {} @end
16 typedef float CGFloat;
18 @interface NSResponder:NSObject < NSCoding > {} @end
22 typedef struct _XCElementInset {} XCElementInset;
24 @protocol XCElementP < NSObject >
28 @protocol XCElementDisplayDelegateP;
29 @protocol XCElementTabMarkerP;
31 typedef NSObject < XCElementTabMarkerP > XCElementTabMarker;
33 @protocol XCElementTabberP < XCElementP >
34 -(void) setMarker:(XCElementTabMarker *) marker;
37 typedef NSObject < XCElementTabberP > XCElementTabber;
39 @protocol XCElementTabMarkerP < NSObject >
44 @protocol XCElementJustifierP < XCElementP >
45 -(void) setHJustification:(CGFloat) hJust;
48 typedef NSObject < XCElementJustifierP > XCElementJustifier;
49 @interface XCElementImp:NSObject < XCElementP > {}
54 @interface XCElementTabberImp:XCElementImp < XCElementTabberP > {
55 XCElementTabMarker *_marker;
59 @implementation XCElementTabberImp
60 - (void) setMarker:(XCElementTabMarker *) marker {
61 if (_marker && _marker.variableSized) {
64 - (id)vertical { return self; }
65 - (BOOL)isEqual:x { return 1; }