xref: /aosp_15_r20/external/clang/test/Parser/objc-interfaces.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1// RUN: %clang_cc1 %s -fsyntax-only -verify
2
3// Test features and error recovery for objc interfaces.
4
5@interface INTF
6- (int*) foo2  __attribute__((deprecated)) : (int) x1 __attribute__((deprecated)); // expected-error {{expected ';' after method prototype}} expected-error {{method type specifier must start with '-' or '+'}}
7@end
8
9