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 |