27bfbb7401aae1536e493d110d4ca91a272c4d28
[ctf-testsuite.git] / tests / 1.8 / regression / metadata / pass / enum-repeat-entry-string / metadata
1 /* CTF 1.8 */
2 typealias integer { size = 8; align = 8; signed = false; base = 10; } := uint8_t;
3 typealias integer { size = 32; align = 32; signed = false; base = hex; } := uint32_t;
4 typealias integer { size = 32; align = 32; signed = true; base = hex; } := TYPE;
5
6 trace {
7 major = 0;
8 minor = 1;
9 uuid = "2a6422d0-6cee-11e0-8c08-cb07d7b3a564";
10 byte_order = le;
11 packet.header := struct {
12 uint32_t magic;
13 uint8_t uuid[16];
14 };
15 };
16
17 /* Value -128 is the min value of TYPE. */
18 event {
19 name = string;
20 fields := struct {
21 enum : TYPE {
22 VAL1 = 0,
23 VAL2 = 1,
24 VAL1 = 2,
25 } field;
26 };
27 };
This page took 0.030013 seconds and 3 git commands to generate.