blob: 0ae17f15ee4d4d771fdedb8d87140ccd6b5ee03f [file] [log] [blame]
Daniel Dunbar8fbe78f2009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -fsyntax-only -verify
Chris Lattner8510b902009-02-15 22:24:30 +00002
3// Test features and error recovery for objc interfaces.
4
5@interface INTF
John McCall1ca73da2010-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 Lattner8510b902009-02-15 22:24:30 +00007@end
8