1discard """
2  cmd: "nim check $options $file"
3  action: "reject"
4  nimout: '''
5t15667.nim(23, 5) Error: invalid indentation, maybe you forgot a '=' at t15667.nim(22, 13) ?
6t15667.nim(28, 5) Error: invalid indentation, maybe you forgot a '=' at t15667.nim(26, 13) ?
7t15667.nim(33, 5) Error: invalid indentation, maybe you forgot a '=' at t15667.nim(31, 25) ?
8t15667.nim(42, 5) Error: invalid indentation, maybe you forgot a '=' at t15667.nim(38, 12) ?
9t15667.nim(56, 5) Error: invalid indentation, maybe you forgot a '=' at t15667.nim(55, 13) ?
10t15667.nim(61, 48) Error: expression expected, but found ','
11'''
12"""
13
14
15
16
17
18
19
20# line 20
21block:
22  proc fn1()
23    discard
24
25block:
26  proc fn2()
27    #
28    discard
29
30block:
31  proc fn3() {.exportc.}
32    #
33    discard
34
35block: # complex example
36  proc asdfasdfsd() {. exportc,
37      inline
38         .}     # foo
39    #[
40    bar
41    ]#
42    discard
43
44block: # xxx this doesn't work yet (only a bare `invalid indentation` error)
45  proc fn5()
46    ##
47    discard
48
49block: # ditto
50  proc fn6*()
51    ## foo bar
52    runnableExamples: discard
53
54block:
55  proc fn8()
56    runnableExamples:
57      discard
58    discard
59
60# semiStmtList loop issue
61proc bar(k:static bool):SomeNumber = (when k: 3, else: 3.0)
62