aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/4-statements/o3_fn_form.zc
blob: 30cfc6b5f419c3699106a5eca4f3e00fb9ffbbbf (plain) (blame)
1
2
3
4
5
6
7
// expect: 6/
// spec 4.10.1: o3 fn f(...)
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
o3 fn triple(int a) { return a * 3; }
fn main() { pn(triple(2)); return 0; }
// zc0: skip