The issue is related to cpp codegen, the previous test doesn't test cpp backend, which will join into the megatest.
8 lines
105 B
Nim
8 lines
105 B
Nim
discard """
|
|
targets: "c cpp"
|
|
"""
|
|
|
|
import std/atomics
|
|
type Futex = distinct Atomic[int32]
|
|
|
|
var x: Futex
|