Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -fsyntax-only -verify |
Chris Lattner | b6d74a1 | 2009-02-15 22:24:30 +0000 | [diff] [blame] | 2 | |
| 3 | // Test features and error recovery for objc interfaces. |
| 4 | |
| 5 | @interface INTF |
John McCall | 837b1a3 | 2010-09-07 18:31:03 +0000 | [diff] [blame] | 6 | - (int*) foo2 __attribute__((deprecated)) : (int) x1 __attribute__((deprecated)); // expected-error {{expected ';' after method prototype}} expected-error {{method type specifier must start with '-' or '+'}} |
Chris Lattner | b6d74a1 | 2009-02-15 22:24:30 +0000 | [diff] [blame] | 7 | @end |
| 8 | |