summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-12-23 22:31:53 +0800
committerGitHub <noreply@github.com>2022-12-23 22:31:53 +0800
commit0ffc322cf615685ae4d528e26ddd13f6ea072684 (patch)
treec4199ccc0fffe6a65504f87dc32c4e64f6b97140 /tests
parent0b319fee3de90759987beba289df3c48ab6d3f1a (diff)
downloadNim-0ffc322cf615685ae4d528e26ddd13f6ea072684.tar.gz
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/cpp/t12946.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cpp/t12946.nim b/tests/cpp/t12946.nim
index cf6bf5cfc..79cd56251 100644
--- a/tests/cpp/t12946.nim
+++ b/tests/cpp/t12946.nim
@@ -1,3 +1,7 @@
+discard """
+  targets: "c cpp"
+"""
+
 import std/atomics
 type Futex = distinct Atomic[int32]