diff options
Diffstat (limited to 'test/graph-test.xsl')
-rw-r--r-- | test/graph-test.xsl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/graph-test.xsl b/test/graph-test.xsl index 63cf618..e8f7b5b 100644 --- a/test/graph-test.xsl +++ b/test/graph-test.xsl @@ -169,6 +169,31 @@ </variable> +<variable name="foo:graph-with-dupes" as="element( preproc:sym-deps )"> + <preproc:sym-deps> + <preproc:sym-dep name="dup"> + <preproc:sym-ref name="a" /> + </preproc:sym-dep> + + <preproc:sym-dep name="dup"> + <preproc:sym-ref name="b" /> + <preproc:sym-ref name="b" /> + <preproc:sym-ref name="b" /> + </preproc:sym-dep> + </preproc:sym-deps> +</variable> + + +<variable name="foo:graph-deduped" as="element( preproc:sym-deps )"> + <preproc:sym-deps> + <preproc:sym-dep name="dup"> + <preproc:sym-ref name="a" /> + <preproc:sym-ref name="b" /> + </preproc:sym-dep> + </preproc:sym-deps> +</variable> + + <function name="foo:lookup"> <param name="yield" as="element()" /> <param name="symbol" as="element( preproc:sym )" /> |