mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-25 08:43:58 +00:00
fixes #25226 `int16` seems to be too small for a reasonable VM program
This commit is contained in:
@@ -479,3 +479,10 @@ static:
|
||||
|
||||
xxx()
|
||||
|
||||
|
||||
static:
|
||||
var foo: string
|
||||
for _ in 0 ..< 100_000:
|
||||
foo.add 'a'
|
||||
doAssert repr(foo).len == 100_002
|
||||
|
||||
|
||||
Reference in New Issue
Block a user