mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 18:02:05 +00:00
18 lines
518 B
Plaintext
18 lines
518 B
Plaintext
forward_declarations.nim
|
|
|
|
> c --verbosity:0 --hints:on
|
|
SuccessX
|
|
|
|
# None of the following return three instances of the echoHello proc, the first
|
|
# being the forward declaration, the second being the usage inside testForward,
|
|
# and the third being the actual implementation.
|
|
|
|
> idetools --track:$TESTNIM,5,5 --usages $SILENT
|
|
skProc.*\n.*skProc.*\n.*skProc
|
|
|
|
> idetools --track:$TESTNIM,9,5 --usages $SILENT
|
|
skProc.*\n.*skProc.*\n.*skProc
|
|
|
|
> idetools --track:$TESTNIM,11,5 --usages $SILENT
|
|
skProc.*\n.*skProc.*\n.*skProc
|