aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/validate-tree/invalid/information-function
blob: 06613f65d535d2a022995c9d0cdc153e64f8cbd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
information
  function f/0
  end function
end information

# (information (@ 1 0-11)
#   (.inner
#     (function (@ 2 2-10) ‘f/0’
#       (.inner nil)
#     )
#   )
# )
# :2:2–10: error: function definition inside information clause
#    function f/0
#    ^^^^^^^^
# :1:0–11: note: outer information clause defined here
#  information
#  ^^^^^^^^^^^