Commit | Line | Data |
---|---|---|
1 | /* CTF 1.8 */ | |
2 | ||
3 | typealias integer { size = 32; align = 8; signed = false; } := uint32_t; | |
4 | ||
5 | /* PASS: It's possible to typedef reserved keywords */ | |
6 | typealias uint32_t := int; | |
7 | ||
8 | struct mystruct { | |
9 | uint32_t field1; | |
10 | int field2; | |
11 | }; | |
12 | ||
13 | trace { | |
14 | major = 1; | |
15 | minor = 8; | |
16 | byte_order = le; | |
17 | packet.header := struct { | |
18 | uint32_t magic; | |
19 | }; | |
20 | }; |