summaryrefslogtreecommitdiff
path: root/tests/oword/sub.0/test.ngc
blob: ddee7733284f5626dc3a6faeb2b2f5a66ff6b66d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

(DUMMY SUBROUTINE)
O100 sub
O100 return
O100 endsub

(MAIN SUBROUTINE)
O200 sub
G00 X#1 Y#2 Z#3
O100 call
(#1 #2 and #3 are now corrupted upon return from dummy subroutine)
G00 X#1 Y#2 Z#3
O200 endsub

(MAIN)
O200 call [1] [2] [3]
M02