mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
The issue is related to cpp codegen, the previous test doesn't test cpp backend, which will join into the megatest.
9 lines
105 B
Nim
9 lines
105 B
Nim
discard """
|
|
targets: "c cpp"
|
|
"""
|
|
|
|
import std/atomics
|
|
type Futex = distinct Atomic[int32]
|
|
|
|
var x: Futex
|