mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-28 09:31:38 +00:00
`hashType` proc returned the same hash value from different instanced generics types like `D[int64]` and `D[F]`. That caused the struct type with wrong field types. object/tuple type size check code is generated when it is compiled with `-d:checkAbi` option.
11 lines
127 B
Nim
11 lines
127 B
Nim
discard """
|
|
targets: "c cpp"
|
|
matrix: "-d:checkAbi"
|
|
"""
|
|
|
|
import ./m25459/h
|
|
|
|
for _ in 0 ..< 500:
|
|
let u = new W
|
|
u[] = a()
|