Add abstract array test
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 11 Jul 2011 19:02:15 +0000 (15:02 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 11 Jul 2011 19:02:15 +0000 (15:02 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/metadata/ctf-test/fail/typealias-left-abstract-array.txt [new file with mode: 0644]

diff --git a/formats/ctf/metadata/ctf-test/fail/typealias-left-abstract-array.txt b/formats/ctf/metadata/ctf-test/fail/typealias-left-abstract-array.txt
new file mode 100644 (file)
index 0000000..aced772
--- /dev/null
@@ -0,0 +1,17 @@
+typealias integer { size = 8; align = 8; signed = false; } := uint8_t;
+typealias uint8_t [] := puint8_t;
+
+trace {
+       major = 0;
+       minor = 1;
+       uuid = "2a6422d0-6cee-11e0-8c08-cb07d7b3a564";
+       byte_order = le;
+       packet.header := struct {
+            uint8_t  field;
+       };
+};
+
+event {
+       name = string;
+       fields := struct { string str; };
+};
This page took 0.024385 seconds and 4 git commands to generate.