aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/5-declarations/global_zero_initialised.zc
blob: 6f1665d1e5c85c302f625b352ea70cddb25f2d5c (plain) (blame)
1
2
3
4
5
6
7
// expect: 0/0/
// spec 5.3.1
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
int g; int[4] buf;
fn main() { pn(g); pn(buf[3]); return 0; }
// zc0: skip