aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/unused.zc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/unused.zc')
-rw-r--r--tests/errors/unused.zc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/errors/unused.zc b/tests/errors/unused.zc
new file mode 100644
index 0000000..64aff1f
--- /dev/null
+++ b/tests/errors/unused.zc
@@ -0,0 +1,2 @@
+// expect: x: m object is never used
+fn main() { let x = new(3); return 0; }