summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-09-19 22:53:52 +0200
committerGitHub <noreply@github.com>2018-09-19 22:53:52 +0200
commita19d2f76f65f1ea3efb2d75d8690655abac11781 (patch)
treeaf01681a775e83904e88c458afb340a5e02060a5 /tests
parent0951b5b73677f610fd0eb8c274fc540349138d9c (diff)
parent334032294ffd9549a772312cfe5e776c0b9aa934 (diff)
downloadNim-a19d2f76f65f1ea3efb2d75d8690655abac11781.tar.gz
Merge pull request #9015 from LemonBoy/fix-9013
Fix linking issue in cpp codegen
Diffstat (limited to 'tests')
-rw-r--r--tests/cpp/t9013.nim9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/cpp/t9013.nim b/tests/cpp/t9013.nim
new file mode 100644
index 000000000..6103cf2e7
--- /dev/null
+++ b/tests/cpp/t9013.nim
@@ -0,0 +1,9 @@
+discard """
+  targets: "cpp"
+  cmd: "nim $target --debugger:native $options $file"
+"""
+
+# The --debugger switch is needed in order to enable the defined(nimTypeNames)
+# code path in hti.nim
+import typeinfo
+var tt: Any