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

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

o70 if [EXISTS[#<foo406>]]
     (abort,WHOA! foo406 visible in rm407: foo406=#<foo406>)
o70 endif

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