1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-16 21:07:56 +00:00
kickc/src/test/ref/struct-ptr-33.sym

9 lines
380 B
Plaintext
Raw Normal View History

__constant char OFFSET_STRUCT_PERSON_NAME = 1
__constant char SIZEOF_STRUCT_PERSON = $10
2020-10-05 20:58:02 +00:00
void main()
__constant char * const main::SCREEN = (char *) 1024
struct Person *main::person
__constant struct Person *main::person#1 = persons+SIZEOF_STRUCT_PERSON // person
__constant struct Person persons[2] = { { id: 7, name: "jesper", age: $141 }, { id: 9, name: "henry", age: $7b } }