summary refs log tree commit diff stats
path: root/tests/ic/thallo.nim
blob: 7ead7c8bacf664a8955e0d80cba3020dee1eaf50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
discard """
  output: "Hello World"
"""

const str = "Hello World"
echo str

# Splitters are done with this special comment:

#!EDIT!#

discard """
  output: "Hello World B"
"""

const str = "Hello World"
echo str, " B"

#!EDIT!#

discard """
  output: "Hello World C"
"""

const str = "Hello World"
var x = 7
if 3+4 == x:
  echo str, " C"