diff options
Diffstat (limited to 'tests/conformance/3-expressions/prec_as_then_star.zc')
| -rw-r--r-- | tests/conformance/3-expressions/prec_as_then_star.zc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/conformance/3-expressions/prec_as_then_star.zc b/tests/conformance/3-expressions/prec_as_then_star.zc new file mode 100644 index 0000000..046f069 --- /dev/null +++ b/tests/conformance/3-expressions/prec_as_then_star.zc @@ -0,0 +1,7 @@ +// expect error: zc: line 5: +include rt; +fn main() { + int x = 3, y = 4; + rt.put_n(x as int * y); + return 0; +} |
