Update ctf-path test case
[babeltrace.git] / formats / ctf / metadata / ctf-test / tofix / ctf-path.txt
index a9c76a063816321b5e225b9fb4ea021bbf2ce90f..fadbe9f0afb2ac03a5fc38616f2b24e12d26c5d6 100644 (file)
@@ -45,5 +45,21 @@ event {
                enum select sel2;
        } str2;
         variant var2 <str2.sel2> b;
+
+       /*
+        * TODO: Deal with path name lookup conflict, e.g. if a field is
+        * named "stream", it conflicts with the stream dynamic scope.
+        */
+       struct {
+               enum select sel3
+       } stream;
+       /* The following test should fail: */
+        /* variant var3 <stream.sel3> c; */
+
+       /*
+        * TODO: support conflict-free local-scoped tags, starting with
+        * ".".
+        */
+       variant var4 <.stream.sel3> d;
     };
 };
This page took 0.022825 seconds and 4 git commands to generate.