ttempl_inst.nim 311 B

1234567891011121314
  1. template foo() =
  2. {.warning: "foo".}
  3. foo()
  4. #[!]#
  5. discard """
  6. $nimsuggest --tester $file
  7. >chk $1
  8. chk;;skUnknown;;;;Hint;;???;;0;;-1;;"ttempl_inst [Processing]";;0
  9. chk;;skUnknown;;;;Hint;;$file;;4;;3;;"template/generic instantiation from here";;0
  10. chk;;skUnknown;;;;Warning;;$file;;2;;11;;"foo [User]";;0
  11. """