aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/7-compile-time/run_requires_include.zc
blob: 16c610132fefcf0f10ba7ae41b867181f6468c6b (plain) (blame)
1
2
3
4
5
6
// expect error: module access requires `include run;`
// spec 5.12.4
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { pn(run.evals("return 1;")); return 0; }
// zc0: skip