summaryrefslogtreecommitdiff
path: root/tests/remap/variable-injection/rm406.ngc
blob: f13ec8a94972de6b0f2dd02344f4e2f10281e935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
o<rm406> sub

o50 if [EXISTS[#<foo405>]]
     (abort,WHOA! foo405 visible in rm406: foo405=#<foo405>)
o50 endif

o100 if [#<foo406> NE  42]
     (abort,rm406: foo406=#<foo406>)
o100 endif
; bump by 1 and check in epilog wether change is visible
#<foo406> = [#<foo406> + 1]
o<rm406> endsub
m2
%