diff options
Diffstat (limited to 'tests/errors/u_dropped.zc')
| -rw-r--r-- | tests/errors/u_dropped.zc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/errors/u_dropped.zc b/tests/errors/u_dropped.zc new file mode 100644 index 0000000..e1ca68a --- /dev/null +++ b/tests/errors/u_dropped.zc @@ -0,0 +1,2 @@ +// expect: x: u object must leave this block +fn main() { let x = new(3); u*x; return 0; } |
