From 8594faa5436b2dea56288fa4668259e88f48f9fc Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 22 Jul 2015 17:08:21 +0200 Subject: fixes #2841 --- tests/cpp/ttypeinfo2.nim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/cpp/ttypeinfo2.nim (limited to 'tests') 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 -- cgit 1.4.1-2-gfad0