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