aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/u_skip_level.zc
blob: 158e9ac0b196edb574956d2ff7cb0ca8ca508b01 (plain) (blame)
1
2
3
4
5
namespace;
include rt;

// expect: t: is u; it can only be handed to a variable of the enclosing block
fn main() { let r; { { let t = rt.new(1); u*t; r = t; } } return r[0]; }