aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/u_dropped.zc
blob: 90ccc3f8596eb889037e3e1e7b8f8ad70e40c012 (plain) (blame)
1
2
3
4
5
namespace;
include rt;

// expect: x: u object must leave this block
fn main() { let x = rt.new(3); u*x; return 0; }