7aa82fa954b46079f63a60666aa6f69e90a039d9
[ctf-testsuite.git] / tests / 1.8 / regression / metadata / fail / variant-missing-selector / metadata
1 /* CTF 1.8 */
2 typealias integer { size = 8; align = 8; signed = false; base = 10; } := uint8_t;
3 typealias integer { size = 16; align = 8; signed = false; base = 10; } := uint16_t;
4 typealias integer { size = 32; align = 32; signed = false; base = hex; } := uint32_t;
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[0x10];
14 };
15 };
16
17 struct Mystruct {
18 enum : uint32_t { sel1, sel2, sel3 } tag;
19
20 variant MyVariant<tag> {
21 struct { uint8_t _; } sel1;
22 struct { uint16_t _; } sel2;
23 } field;
24
25 };
This page took 0.030235 seconds and 3 git commands to generate.