aboutsummaryrefslogtreecommitdiff
path: root/tests/conformance/8-runtime/new_zeroed.zc
blob: fbdf407ab3a2303b917f173a8a1efe9697805740 (plain) (blame)
1
2
3
4
5
6
// expect: 0/
// spec 8.3
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn main() { int* p = rt.new(5); pn(p[4]); return 0; }
// zc0: skip