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 | ||||
6 | - (int*) foo2 __attribute__((deprecated)) : (int) x1 __attribute__((deprecated)); // expected-error {{expected ';' after method prototype}} | ||||
7 | @end | ||||
8 |