diff options
author | Bung <crc32@qq.com> | 2022-12-01 20:34:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-01 13:34:00 +0100 |
commit | 658b28dc5707601b39d9aad4b6bf79a9afff1e92 (patch) | |
tree | b8e10d4d1f2666c45c3b1dec23e7c03d5ba23be9 /tests/arithm | |
parent | a70d3abd37819e7562f80f0c808788c3f5c62c55 (diff) | |
download | Nim-658b28dc5707601b39d9aad4b6bf79a9afff1e92.tar.gz |
tyInt tyUint fit target int bit width (#20829)
Diffstat (limited to 'tests/arithm')
-rw-r--r-- | tests/arithm/t1.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/arithm/t1.nim b/tests/arithm/t1.nim new file mode 100644 index 000000000..f9a87684e --- /dev/null +++ b/tests/arithm/t1.nim @@ -0,0 +1,2 @@ +doAssert typeOf(1.int64 + 1.int) is int64 +doAssert typeOf(1.uint64 + 1.uint) is uint64 |