diff options
Diffstat (limited to 'tests/modules/tincludetemplate.nim')
-rw-r--r-- | tests/modules/tincludetemplate.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/modules/tincludetemplate.nim b/tests/modules/tincludetemplate.nim new file mode 100644 index 000000000..77e409ee5 --- /dev/null +++ b/tests/modules/tincludetemplate.nim @@ -0,0 +1,5 @@ +# issue #12539 + +template includePath(n: untyped) = include ../modules/n # But `include n` works +includePath(mincludetemplate) +doAssert foo == 123 |