diff options
author | Ori Bernstein <ori@eigenstate.org> | 2014-12-26 12:38:07 -0800 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2014-12-26 12:38:07 -0800 |
commit | d8995182fdd4aaa544f4b37925f94f83f1a1b183 (patch) | |
tree | 8fa4390e165289ee21c90b8f5152281a717b1d22 /test | |
parent | f056f3aecfa11bb28eb32f63421a05eea4e15a54 (diff) | |
download | mc-d8995182fdd4aaa544f4b37925f94f83f1a1b183.tar.gz |
fix division tests.
Diffstat (limited to 'test')
-rw-r--r-- | test/trunccast.myr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/trunccast.myr b/test/trunccast.myr index fa5c4d0..11e96e8 100644 --- a/test/trunccast.myr +++ b/test/trunccast.myr @@ -1,10 +1,10 @@ use std /* should truncate y when casting to x, exiting with status 15 */ const main = { - var x : int8 + var x : uint8 var y : int32 y = 9999 - x = y castto(int8) + x = y castto(uint8) std.exit((x % 73) castto(int)) } |