aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/7-compile-time/evals_returns.zc
blob: 36556126bf24f5a75cdf041651b50bd95433b0cb (plain) (blame)
1
2
3
4
5
6
7
// expect: 42/
// spec 7.3
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
include run;
fn main() { pn(run.evals("return 6 * 7;")); return 0; }
// zc0: skip