diff options
Diffstat (limited to 'tests/cpplocators/testdata_basic/file1.mm')
-rw-r--r-- | tests/cpplocators/testdata_basic/file1.mm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/cpplocators/testdata_basic/file1.mm b/tests/cpplocators/testdata_basic/file1.mm new file mode 100644 index 0000000000..841a31051c --- /dev/null +++ b/tests/cpplocators/testdata_basic/file1.mm @@ -0,0 +1,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 |