brintos

brintos / llvm-project-archived public Read only

0
0
Text · 619 B · afcaab8 Raw
49 lines · plain
1@interface I1 2@end3 4// Matching category5@interface I1 (Cat1)6- (int)method0;7@end8 9// Matching class extension10@interface I1 ()11- (int)method1;12@end13 14// Mismatched category15@interface I1 (Cat2)16- (int)method2;17@end18 19@interface I220@end21 22// Mismatched class extension23@interface I2 ()24- (int)method3;25@end26 27// Category with implementation28@interface I2 (Cat3)29@end30 31@implementation I2 (Cat3)32@end33 34// Category with implementation35@interface I2 (Cat4)36@end37 38@implementation I2 (Cat4)39@end40 41// Category with mismatched implementation42@interface I2 (Cat6)43@end44 45@implementation I2 (Cat6)46- (float)blah { return 0; }47@end48 49