projects
/
babeltrace.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
tests: add `src.ctf.fs` single field testing framework
[babeltrace.git]
/
tests
/
data
/
plugins
/
src.ctf.fs
/
field
/
ctf-1
/
pass-variant.mp
1
---
2
struct {
3
enum : u8 {
4
MEOW,
5
MIX,
6
} tag;
7
8
variant <tag> {
9
u16 MEOW;
10
nt_str MIX;
11
} var;
12
} @[2]
13
14
---
15
00 # `tag`
16
[1995:16] # `var`
17
18
01 # `tag`
19
"hello there!\0" # `var`
20
---
21
- tag: 0
22
var: 1995
23
- tag: 1
24
var: "hello there!"
This page took
0.031633 seconds
and
4
git commands to generate.