added test cases from strange loop event

This commit is contained in:
Araq 2014-01-13 01:05:09 +01:00
commit 9ab1a3c724
6 changed files with 152 additions and 0 deletions

11
tests/showoff/thtml1.nim Normal file
View file

@ -0,0 +1,11 @@
discard """
output: "<br>"
"""
template htmlTag(tag: expr) {.immediate.} =
proc tag(): string = "<" & astToStr(tag) & ">"
htmlTag(br)
htmlTag(html)
echo br()