tests: add `src.ctf.fs` single field testing framework
[babeltrace.git] / tests / data / plugins / src.ctf.fs / field / ctf-1 / pass-struct-empty.mp
diff --git a/tests/data/plugins/src.ctf.fs/field/ctf-1/pass-struct-empty.mp b/tests/data/plugins/src.ctf.fs/field/ctf-1/pass-struct-empty.mp
new file mode 100644 (file)
index 0000000..2665098
--- /dev/null
@@ -0,0 +1,17 @@
+---
+struct {
+  u8 a;
+
+  struct {
+  } b;
+
+  u8 c;
+}
+---
+01  # `a`
+02  # `c`
+
+---
+a: 1
+b: {}
+c: 2
This page took 0.023441 seconds and 4 git commands to generate.