diff options
| author | Michael Bebenita <[email protected]> | 2010-08-09 06:53:37 -0700 |
|---|---|---|
| committer | Michael Bebenita <[email protected]> | 2010-08-09 06:53:37 -0700 |
| commit | d647c163fd936c853d76f59ab2c656d554068ab3 (patch) | |
| tree | c5092621db603321d235ea2bef6ba85e8c2424dd /src/test/run-pass/arith-0.rs | |
| parent | Add Or to the AUTHORS file. (diff) | |
| download | rust-d647c163fd936c853d76f59ab2c656d554068ab3.tar.xz rust-d647c163fd936c853d76f59ab2c656d554068ab3.zip | |
Updated/added test cases.
Diffstat (limited to 'src/test/run-pass/arith-0.rs')
| -rw-r--r-- | src/test/run-pass/arith-0.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/run-pass/arith-0.rs b/src/test/run-pass/arith-0.rs new file mode 100644 index 00000000..7587b005 --- /dev/null +++ b/src/test/run-pass/arith-0.rs @@ -0,0 +1,5 @@ +fn main() -> () { + let int a = 10; + log a; + check (a * (a - 1) == 90); +}
\ No newline at end of file |