diff options
author | Araq <rumpf_a@web.de> | 2019-08-20 15:47:04 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-08-20 15:47:04 +0200 |
commit | b1b0960c36540708c77b6e5c950810ee1efb0b12 (patch) | |
tree | 0140d90f96d26459671a0b11d5427b5f385840a6 /tests/misc | |
parent | 75baaa5e2513cdf348edc155b4f1999a317d9366 (diff) | |
download | Nim-b1b0960c36540708c77b6e5c950810ee1efb0b12.tar.gz |
fixes #11972
Diffstat (limited to 'tests/misc')
-rw-r--r-- | tests/misc/tlowhigh.nim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/misc/tlowhigh.nim b/tests/misc/tlowhigh.nim index 61a7bfaed..76f298a4a 100644 --- a/tests/misc/tlowhigh.nim +++ b/tests/misc/tlowhigh.nim @@ -11,4 +11,8 @@ var y: range[-1'f64..1'f64] doAssert y.low == -1'f64 doAssert y.high == 1'f64 doAssert y.type.low == -1'f64 -doAssert y.type.high == 1'f64 \ No newline at end of file +doAssert y.type.high == 1'f64 + +# bug #11972 +var num: uint8 +doAssert num.high.float == 255.0 |