blob: 0ae17f15ee4d4d771fdedb8d87140ccd6b5ee03f [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -fsyntax-only -verify
Chris Lattnerb6d74a12009-02-15 22:24:30 +00002
3// Test features and error recovery for objc interfaces.
4
5@interface INTF
John McCall837b1a32010-09-07 18:31:03 +00006- (int*) foo2 __attribute__((deprecated)) : (int) x1 __attribute__((deprecated)); // expected-error {{expected ';' after method prototype}} expected-error {{method type specifier must start with '-' or '+'}}
Chris Lattnerb6d74a12009-02-15 22:24:30 +00007@end
8