diff options
Diffstat (limited to 'tests/errors/unused.zc')
| -rw-r--r-- | tests/errors/unused.zc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/errors/unused.zc b/tests/errors/unused.zc index 64aff1f..5c88ce3 100644 --- a/tests/errors/unused.zc +++ b/tests/errors/unused.zc @@ -1,2 +1,5 @@ -// expect: x: m object is never used -fn main() { let x = new(3); return 0; } +namespace; +include rt; + +// expect: x is never read +fn main() { let x = rt.new(3); return 0; } |
