aboutsummaryrefslogblamecommitdiffstats
path: root/test-files/mds-kbdc/eliminate-dead-code/dead-code/macro-for-return-end-dead
blob: b7a42f87bc28df94ef952b6b98f31c0744738358 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                         
                                              
                              
                              

     
macro m/0
  for 1 to 1 as \1
    return
  end for
  <dead code> : "dead code"
end macro

# (macro (@ 1 0-5) ‘m/0’
#   (.inner
#     (for (@ 2 2-5) ‘1’ ‘1’ (.variable ‘\1’)
#       (.inner
#         (return (@ 3 4-10))
#       )
#     )
#   )
# )
# :5:2–27: warning: statement is unreachable
#    <dead code> : "dead code"
#    ^^^^^^^^^^^^^^^^^^^^^^^^^
#