This commit is contained in:
Andreas Rumpf 2016-07-29 00:58:39 +02:00
commit 1ddd2a3865
2 changed files with 17 additions and 6 deletions

View file

@ -0,0 +1,13 @@
discard """
output: "234"
"""
# bug #4461
import strutils
converter toInt(s: string): int =
result = parseInt(s)
let x = (int)"234"
echo x