summary refs log tree commit diff stats
path: root/nimpretty/tests/expected/simple.nim
blob: d13558621a687354ea1809d7ae81b2e249ff1637 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
var x: int = 2

echo x
# bug #9144

proc a() =
  while true:
    discard
    # comment 1

  # comment 2
  discard

# bug #15596
discard ## comment 3

discard # comment 4