Debian Codegraph @

clang/test/Parser/check-syntax-1.m

raw
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2
3 int @interface bla ; // expected-error {{cannot combine with previous 'int' declaration specifier}}
4 @end
5
6 typedef float CGFloat;
7 @interface XNSNumber
8 + (XNSNumber *) numberWithCGFloat : (CGFloat) float; // expected-error {{expected identifier}} \
9 // expected-error {{expected ';' after method prototype}}
10 @end
11
12 @interface A
13 (void) x; // expected-error {{method type specifier must start with '-' or '+'}}
14 (int)im; // expected-error {{method type specifier must start with '-' or '+'}} \
15 - ok;
16 @end
17
18