brintos

brintos / llvm-project-archived public Read only

0
0
Text · 418 B · 911fa16 Raw
12 lines · plain
1// RUN: %clang_cc1 %s -fsyntax-only -verify2 3// Test features and error recovery for objc interfaces.4 5@interface INTF6- (int*) foo2  __attribute__((deprecated)) : (int) x1 __attribute__((deprecated)); // expected-error {{expected ';' after method prototype}} expected-error {{method type specifier must start with '-' or '+'}}7@end8 9@interface X10-(nullable NoSuchType)foo3; // expected-error {{expected a type}}11@end12