mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
fixes strutils.unescape; refs #3634
This commit is contained in:
18
tests/parser/tmultiline_comments.nim
Normal file
18
tests/parser/tmultiline_comments.nim
Normal file
@@ -0,0 +1,18 @@
|
||||
discard """
|
||||
output: '''3'''
|
||||
"""
|
||||
|
||||
proc main* =
|
||||
##[Mutltie akdlsf comment with #[nesting].
|
||||
Yay, that is so cool.
|
||||
]##
|
||||
echo "foo bar"
|
||||
|
||||
var foo #[ Test the new inline comments ]#: int = 3
|
||||
##[ A
|
||||
novel documentation comment
|
||||
#[Nesting works to some extend]
|
||||
##[ Nested doc comment! ]##
|
||||
]#
|
||||
]##
|
||||
echo $foo
|
||||
Reference in New Issue
Block a user