Debian Codegraph @

clang/test/Parser/method-def-in-class.m

raw
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2
3 @interface A
4 -(id) f0 { // expected-error {{expected ';' after method prototype}}
5 assert(0);
6 }
7 @end
8
9 @interface C
10 - (id) f0 { // expected-error {{expected ';' after method prototype}}
11 assert(0);
12 };
13 @end