blob: 7aa672901fffb90ca214fd99e680a410f3e7aeed [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc %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