aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/4-statements/o3_single_variable.zc
blob: 3deca8d778c46d852e6d1b69e3cd317887652efb (plain) (blame)
1
2
3
4
5
6
// expect: 7/
// spec 4.10.1: o3 T x = e; marks one variable
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { o3 int x = 7; pn(x); return 0; }
// zc0: skip