aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/5-declarations/fn_bare_name_not_declaration.zc
blob: 4da0bed6a553a42f593c2542f7c053c328a82de2 (plain) (blame)
1
2
3
4
5
6
7
// expect error: expected a declaration
// spec 5.2.1
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
f(x) { return x; }
fn main() { return 0; }
// zc0: skip