Files
Nim/tests/cpp/t8241.nim
LemonBoy d0b60f1fe3 Generate dynlib strings as a single rope (#8247)
In order not to trip the optimization in genInfixCall we have to do so.
The same trick is also used in setExternName.

Fixes #8241
2018-07-08 22:07:45 +02:00

8 lines
115 B
Nim

discard """
targets: "cpp"
action: "compile"
"""
proc foo(): cstring {.importcpp: "", dynlib: "".}
echo foo()