1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-07-01 22:29:45 +00:00
kickc/src/test/ref/initializer-4.sym

13 lines
343 B
Plaintext
Raw Normal View History

constant byte* chars[] = { 1, 2, 3 }
2020-10-05 20:58:02 +00:00
void main()
constant byte* const main::SCREEN = (byte*) 1024
2020-10-05 20:58:02 +00:00
byte main::i
byte main::i#1 reg byte y 16.5
byte main::i#2 reg byte y 11.0
byte main::idx
byte main::idx#1 reg byte x 7.333333333333333
byte main::idx#2 reg byte x 16.5
reg byte y [ main::i#2 main::i#1 ]
reg byte x [ main::idx#2 main::idx#1 ]