summary refs log tree commit diff stats
path: root/nimsuggest/tests/tsug_template.nim
blob: 0f258fcc6f57c8be38c92d6a0e767b55a5418977 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
template tmpa() = discard
macro tmpb() = discard
converter tmpc() = discard
tmp#[!]#

discard """
$nimsuggest --tester $file
>sug $1
sug;;skMacro;;tsug_template.tmpb;;macro (){.noSideEffect, gcsafe, locks: 0.};;$file;;2;;6;;"";;0;;Prefix
sug;;skConverter;;tsug_template.tmpc;;converter ();;$file;;3;;10;;"";;0;;Prefix
sug;;skTemplate;;tsug_template.tmpa;;template ();;$file;;1;;9;;"";;0;;Prefix
"""