diff options
Diffstat (limited to 'tests/errors/back_to_m.zc')
| -rw-r--r-- | tests/errors/back_to_m.zc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/errors/back_to_m.zc b/tests/errors/back_to_m.zc new file mode 100644 index 0000000..b8c160f --- /dev/null +++ b/tests/errors/back_to_m.zc @@ -0,0 +1,2 @@ +// expect: x: can't be recast back to m +fn main() { let x = new(3); d*x; m*x; return 0; } |
