mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 22:33:49 +00:00
* Don't leave dangling forward references to types Fixes #8616 * Add a test case for #8616
11 lines
99 B
Nim
11 lines
99 B
Nim
import rtarray
|
|
|
|
type
|
|
T = tuple[x:int]
|
|
|
|
var
|
|
arr: array[1,T]
|
|
|
|
proc init*() =
|
|
discard head(arr)
|