Add tofix/ parser test files
[babeltrace.git] / formats / ctf / metadata / ctf-test / tofix / ctf-redefine-type.txt
CommitLineData
5594f671
MD
1typealias integer { size = 8; align = 8; signed = false; } := uint8_t;
2typealias integer { size = 32; align = 8; signed = false; } := uint32_t;
3
4// Define newtype
5typealias uint32_t := newtype;
6
7trace {
8 // Hide newtype
9 typedef uint8_t newtype;
10
11 major = 0;
12 minor = 1;
13 uuid = "2a6422d0-6cee-11e0-8c08-cb07d7b3a564";
14 byte_order = le;
15 packet.header := struct {
16 uint8_t field;
17 };
18};
19
20event {
21 name = string;
22 fields := struct { string str; };
23};
This page took 0.023137 seconds and 4 git commands to generate.