Files
Nim/tests/cpp/t12946.nim
ringabout 0ffc322cf6 add the cpp target (#21164)
The issue is related to cpp codegen, the previous test doesn't test cpp backend, which will join into the megatest.
2022-12-23 22:31:53 +08:00

9 lines
105 B
Nim

discard """
targets: "c cpp"
"""
import std/atomics
type Futex = distinct Atomic[int32]
var x: Futex