aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/unused.zc
blob: 7a1c7e407f504bb4ae3ea86ac31ae79d6af360e4 (plain) (blame)
1
2
3
4
5
namespace;
include rt;

// expect: x: owned object is never used
fn main() { let x = rt.new(3); return 0; }