diff options
Diffstat (limited to 'tests/ccgbugs/thtiobj.nim')
-rw-r--r-- | tests/ccgbugs/thtiobj.nim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ccgbugs/thtiobj.nim b/tests/ccgbugs/thtiobj.nim new file mode 100644 index 000000000..7a656905f --- /dev/null +++ b/tests/ccgbugs/thtiobj.nim @@ -0,0 +1,8 @@ +discard """ + targets: "c cpp" +""" + +import typeinfo + +var x = "" +discard (getPointer(toAny(x))) |