From 7fb16836741fe11151da258ad2c93b486e3acfbe Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 29 Jul 2011 13:39:13 -0400 Subject: [PATCH 1/1] Update ctf-path test case Signed-off-by: Mathieu Desnoyers --- formats/ctf/metadata/ctf-test/tofix/ctf-path.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/formats/ctf/metadata/ctf-test/tofix/ctf-path.txt b/formats/ctf/metadata/ctf-test/tofix/ctf-path.txt index a9c76a06..fadbe9f0 100644 --- a/formats/ctf/metadata/ctf-test/tofix/ctf-path.txt +++ b/formats/ctf/metadata/ctf-test/tofix/ctf-path.txt @@ -45,5 +45,21 @@ event { enum select sel2; } str2; variant var2 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 c; */ + + /* + * TODO: support conflict-free local-scoped tags, starting with + * ".". + */ + variant var4 <.stream.sel3> d; }; }; -- 2.34.1