fix #12946 Bad C++ codegen on distinct generics C++ types (#21157)

This commit is contained in:
Bung
2022-12-23 16:47:01 +08:00
committed by GitHub
parent 3bba2b34fd
commit 13251c2ac9
2 changed files with 9 additions and 4 deletions

4
tests/cpp/t12946.nim Normal file
View File

@@ -0,0 +1,4 @@
import std/atomics
type Futex = distinct Atomic[int32]
var x: Futex