aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/validate-tree/invalid/function-macro_call
blob: b635844af6e3b70acc11b8fdfebcbdbab04db2d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function f/0
  m()
end function

# (function (@ 1 0-8) ‘f/0’
#   (.inner
#     (macro_call (@ 2 2-3) ‘m/0’
#       (.arguments nil)
#     )
#   )
# )
# :2:2–3: error: macro call inside function definition
#    m()
#    ^