summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-07-22 17:08:21 +0200
committerAraq <rumpf_a@web.de>2015-07-22 17:08:21 +0200
commit8594faa5436b2dea56288fa4668259e88f48f9fc (patch)
tree86337ec31ec438bec32a426756768350ee51815f /tests
parentb0b716fca73293328d4290d6407f9f3cbcdfe164 (diff)
downloadNim-8594faa5436b2dea56288fa4668259e88f48f9fc.tar.gz
fixes #2841
Diffstat (limited to 'tests')
-rw-r--r--tests/cpp/ttypeinfo2.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cpp/ttypeinfo2.nim b/tests/cpp/ttypeinfo2.nim
new file mode 100644
index 000000000..64bd43e96
--- /dev/null
+++ b/tests/cpp/ttypeinfo2.nim
@@ -0,0 +1,6 @@
+discard """
+  cmd: "nim cpp $file"
+"""
+# bug #2841
+import typeinfo
+var tt: Any