2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2009-05-15 07:52:54 +08:00
|
|
|
|
|
|
|
@protocol NSWindowDelegate @end
|
|
|
|
|
|
|
|
@interface NSWindow
|
|
|
|
- (void)setDelegate:(id <NSWindowDelegate>)anObject;
|
|
|
|
- (id <NSWindowDelegate>) delegate;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@protocol IBStringsTableWindowDelegate <NSWindowDelegate>
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface IBStringsTableWindow : NSWindow {}
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation IBStringsTableWindow
|
|
|
|
- (void)setDelegate:(id <IBStringsTableWindowDelegate>)delegate {
|
|
|
|
}
|
|
|
|
- (id <IBStringsTableWindowDelegate>)delegate {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
@end
|