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.
This commit is contained in:
ringabout 2022-12-23 22:31:53 +08:00 • committed by GitHub
commit 0ffc322cf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,7 @@
discard """
targets: "c cpp"
"""
import std/atomics import std/atomics
type Futex = distinct Atomic[int32] type Futex = distinct Atomic[int32]