diff options
Diffstat (limited to 'clang/test/ASTMerge/Inputs/interface2.m')
-rw-r--r-- | clang/test/ASTMerge/Inputs/interface2.m | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/clang/test/ASTMerge/Inputs/interface2.m b/clang/test/ASTMerge/Inputs/interface2.m index 2e6b0bf2b4e..1d5bebd9969 100644 --- a/clang/test/ASTMerge/Inputs/interface2.m +++ b/clang/test/ASTMerge/Inputs/interface2.m @@ -21,3 +21,26 @@ @interface I4 : I1 { } @end + +// Methods match +@interface I5 ++ (float)bar; +- (int)foo; +@end + +// Method mismatch +@interface I6 ++ (float)foo; +@end + +// Method mismatch +@interface I7 +- (int)foo; ++ (int)bar:(float)x; +@end + +// Method mismatch +@interface I8 +- (int)foo; ++ (int)bar:(float)x, ...; +@end |