aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/5-declarations/include_in_function_b9.zc
blob: 64f170c47f3bb2dba8b8574840fa669587c7ab54 (plain) (blame)
1
2
3
4
5
6
// expect error: include is top level only
// spec 5.12.7 and appendix b.2.9: expected an error saying include is top level only
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { include std; return 0; }
// zc0: skip