blob: af1b7a8b714ac7fabd8b4f3c246e38c05187f3e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// RUN: clang-cc -fsyntax-only -verify %s
int @interface bla ; // expected-error {{cannot combine with previous 'int' declaration specifier}}
@end
typedef float CGFloat;
@interface XNSNumber
+ (XNSNumber *) numberWithCGFloat : (CGFloat) float; // expected-error {{expected identifier}} \
// expected-error {{ expected ';' after method prototype}}
@end
|