f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
8 lines
334 B
Objective-C
8 lines
334 B
Objective-C
// RUN: %clang_cc1 %s -fsyntax-only -verify
|
|
|
|
// Test features and error recovery for objc interfaces.
|
|
|
|
@interface INTF
|
|
- (int*) foo2 __attribute__((deprecated)) : (int) x1 __attribute__((deprecated)); // expected-error {{expected ';' after method prototype}} expected-error {{method type specifier must start with '-' or '+'}}
|
|
@end
|
|
|