1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-06-29 09:29:31 +00:00
kickc/src/test/ref/initializer-4.sym
2021-04-30 17:26:46 +02:00

13 lines
343 B
Plaintext

constant byte* chars[] = { 1, 2, 3 }
void main()
constant byte* const main::SCREEN = (byte*) 1024
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 ]