Fix: ctf: verify that field class is int before calling ctf_field_class_as_int
[babeltrace.git] / tests / data / ctf-traces / fail / invalid-variant-selector-field-class / metadata
1 /* CTF 1.8 */
2 typealias integer { size = 8; align = 8; signed = false; } := uint8_t;
3
4 trace {
5 major = 1;
6 minor = 8;
7 byte_order = le;
8 };
9
10 stream {
11 event.header := struct {
12 uint8_t id;
13 };
14 };
15
16 event {
17 name = ze_event;
18 id = 1;
19 fields := struct {
20 struct {
21 uint8_t hello;
22 } selector;
23 variant<selector> {
24 uint8_t a;
25 uint8_t b;
26 } v;
27 };
28 };
This page took 0.030305 seconds and 4 git commands to generate.