Update ctf-path test case
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 29 Jul 2011 17:39:13 +0000 (13:39 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 29 Jul 2011 17:39:13 +0000 (13:39 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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.02504 seconds and 4 git commands to generate.