diff options
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/arithmetic-interference.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/run-pass/arithmetic-interference.rs b/src/test/run-pass/arithmetic-interference.rs new file mode 100644 index 00000000..588148bb --- /dev/null +++ b/src/test/run-pass/arithmetic-interference.rs @@ -0,0 +1,7 @@ +// Testcase for issue #131. + +fn main() -> () { + let int a = 10; + log a; + check (a * (a - 1) == 90); +} |