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