mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-05 04:27:44 +00:00
14 lines
311 B
Nim
14 lines
311 B
Nim
template foo() =
|
|
{.warning: "foo".}
|
|
|
|
foo()
|
|
|
|
#[!]#
|
|
discard """
|
|
$nimsuggest --tester $file
|
|
>chk $1
|
|
chk;;skUnknown;;;;Hint;;???;;0;;-1;;"ttempl_inst [Processing]";;0
|
|
chk;;skUnknown;;;;Hint;;$file;;4;;3;;"template/generic instantiation from here";;0
|
|
chk;;skUnknown;;;;Warning;;$file;;2;;11;;"foo [User]";;0
|
|
"""
|