Commit | Line | Data |
---|---|---|
1 | /* CTF 1.8 */ | |
2 | ||
3 | typealias integer { size = 32; align = 8; signed = false; } := uint32_t; | |
4 | ||
5 | /* FAIL: keyword as a field. */ | |
6 | struct a { | |
7 | uint32_t x; | |
8 | } align(-1); | |
9 | ||
10 | ||
11 | trace { | |
12 | major = 2; | |
13 | minor = 1; | |
14 | byte_order = le; | |
15 | packet.header := struct { | |
16 | uint32_t magic; | |
17 | }; | |
18 | }; | |
19 | ||
20 |