summaryrefslogtreecommitdiff
path: root/tests/cpplocators/testdata_basic/file1.mm
blob: 841a31051cf1d0c8d7e93bf390965f45111d714a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright header to keep the Qt Insanity Bot happy.

@protocol NSObject
@end

@interface NSObject<NSObject>
@end

@protocol MyProtocol <NSObject>
- (void) someMethod;
@end

@interface MyClass: NSObject <MyProtocol>
@end

@implementation MyClass
- (void) someMethod {}
@end

@implementation MyClass(MyCategory)
- (void) anotherMethod;{}
- (void) anotherMethod:(NSObject*)withAnObject{}
@end