Merge pull request #9015 from LemonBoy/fix-9013

Fix linking issue in cpp codegen
This commit is contained in:
Andreas Rumpf 2018-09-19 22:53:52 +02:00 • committed by GitHub
commit a19d2f76f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

9
tests/cpp/t9013.nim Normal file
View file

@ -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