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

13 lines
340 B
Plaintext
Raw Normal View History

2020-10-05 20:58:02 +00:00
const byte* chars[] = { 1, 2, 3 }
void main()
const nomodify byte* 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 ]