This commit is contained in:
Andreas Rumpf 2020-03-20 14:35:45 +01:00 • committed by GitHub
commit 253e1b9e96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -1,5 +1,6 @@
discard """
output: '''uint'''
output: '''uint
1'''
"""
# Tests unsigned literals and implicit conversion between uints and ints
@ -60,3 +61,7 @@ discard $x0
const x1 = cast[uint](-1)
discard $(x1,)
# bug 13698
let n: csize = 1
echo n.int32