mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 06:18:51 +00:00
fixes #4910
This commit is contained in:
@@ -21,3 +21,11 @@ proc getSubsystem*[T](): ptr T {.
|
||||
|
||||
let input: ptr Input = getSubsystem[Input]()
|
||||
|
||||
|
||||
# bug #4910
|
||||
|
||||
proc foo() =
|
||||
var ts: array[10, int]
|
||||
for t in mitems(ts):
|
||||
t = 123
|
||||
|
||||
|
||||
Reference in New Issue
Block a user