mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 23:41:29 +00:00
@@ -257,3 +257,10 @@ echo "new line before - ", newline
|
||||
newline.insert(indent, 0)
|
||||
|
||||
echo "new line after - ", newline
|
||||
|
||||
# bug #14480
|
||||
proc hello(): int =
|
||||
result = 42
|
||||
|
||||
var leaves {.global.} = hello()
|
||||
doAssert leaves == 42
|
||||
|
||||
Reference in New Issue
Block a user