summary refs log tree commit diff stats
path: root/tests/cpp
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2015-02-04 20:08:26 +0100
committerdef <dennis@felsin9.de>2015-02-04 20:08:26 +0100
commitc3989f64ef9fb0bfe54dad576144536259e8d03c (patch)
treecb4e72f6475be742596c1f7d6159c74d50a5e78e /tests/cpp
parent402ada8f1d84c9a3dbdbb1bc73d8c512e97b04c3 (diff)
downloadNim-c3989f64ef9fb0bfe54dad576144536259e8d03c.tar.gz
Add test for #1459
Diffstat (limited to 'tests/cpp')
-rw-r--r--tests/cpp/ttypeinfo.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cpp/ttypeinfo.nim b/tests/cpp/ttypeinfo.nim
new file mode 100644
index 000000000..e72883dbf
--- /dev/null
+++ b/tests/cpp/ttypeinfo.nim
@@ -0,0 +1,5 @@
+discard """
+  cmd: "nim cpp $target"
+"""
+
+import typeinfo