summaryrefslogtreecommitdiff
path: root/test/Parser/objc-interfaces.m
blob: 0ae17f15ee4d4d771fdedb8d87140ccd6b5ee03f (plain)
1
2
3
4
5
6
7
8
// 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