diff options
Diffstat (limited to 'clang/test/ASTMerge/Inputs/category1.m')
-rw-r--r-- | clang/test/ASTMerge/Inputs/category1.m | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/clang/test/ASTMerge/Inputs/category1.m b/clang/test/ASTMerge/Inputs/category1.m index 6d4fd8d9f28..afcaab81f2b 100644 --- a/clang/test/ASTMerge/Inputs/category1.m +++ b/clang/test/ASTMerge/Inputs/category1.m @@ -28,7 +28,21 @@ @interface I2 (Cat3) @end +@implementation I2 (Cat3) +@end + // Category with implementation @interface I2 (Cat4) @end +@implementation I2 (Cat4) +@end + +// Category with mismatched implementation +@interface I2 (Cat6) +@end + +@implementation I2 (Cat6) +- (float)blah { return 0; } +@end + |