1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-30 09:57:11 +00:00
kickc/src/test/ref/consolidate-array-index-problem.sym

13 lines
307 B
Plaintext
Raw Normal View History

2020-10-05 20:58:02 +00:00
void main()
constant byte main::BLACK = 0
constant byte* main::cols = (byte*) 55296
constant byte* main::screen = (byte*) 1024
2020-10-05 20:58:02 +00:00
byte main::x
byte main::x#1 reg byte y 16.5
byte main::x#2 reg byte y 8.25
byte main::y
byte main::y#0 reg byte x 16.5
reg byte y [ main::x#2 main::x#1 ]
reg byte x [ main::y#0 ]