Commit | Line | Data |
---|---|---|
510ff354 MD |
1 | /* CTF 1.8 */ |
2 | ||
3 | typealias integer { size = 32; align = 8; signed = false; } := uint32_t; | |
4 | ||
5 | /* | |
6 | * PASS: struct should be aligned to 8 bits (fields' value is larger than the | |
7 | * one specified by the struct). | |
8 | */ | |
9 | struct dummy { | |
10 | uint32_t field1; | |
11 | uint32_t field2; | |
12 | uint32_t field3; | |
13 | } align(4); | |
14 | ||
15 | ||
16 | trace { | |
83fcdab0 FD |
17 | major = 1; |
18 | minor = 8; | |
510ff354 MD |
19 | byte_order = le; |
20 | packet.header := struct { | |
21 | uint32_t magic; | |
22 | }; | |
23 | }; |