aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/global_store.zc
blob: dc0e546a56d490dcf4d1ff32464a341c11d2808d (plain) (blame)
1
2
3
// expect: x: must be d to be stored in a global
let g;
fn main() { let x = new(1); g = x; return 0; }