summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorgenotrance <dev@genotrance.com>2018-04-18 14:19:23 -0500
committerAndreas Rumpf <rumpf_a@web.de>2018-04-18 21:19:23 +0200
commit0448d3f6ea3516bee9816320fefc62bc9c7d23fc (patch)
tree1dd3618992dd784d6d6d36df470c4f81cee198d2 /tests
parent35b0cc67e89a929270e77c07ecbf06f7cced3668 (diff)
downloadNim-0448d3f6ea3516bee9816320fefc62bc9c7d23fc.tar.gz
test case for #2416 (#7649)
Diffstat (limited to 'tests')
-rw-r--r--tests/template/i2416.nim1
-rw-r--r--tests/template/t2416.nim2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/template/i2416.nim b/tests/template/i2416.nim
new file mode 100644
index 000000000..4b53cd0ca
--- /dev/null
+++ b/tests/template/i2416.nim
@@ -0,0 +1 @@
+template i2416*() = echo "i2416"
diff --git a/tests/template/t2416.nim b/tests/template/t2416.nim
new file mode 100644
index 000000000..f73880718
--- /dev/null
+++ b/tests/template/t2416.nim
@@ -0,0 +1,2 @@
+import i2416
+i2416()