diff options
Diffstat (limited to 'tests/test_closure/test.tpl')
-rw-r--r-- | tests/test_closure/test.tpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_closure/test.tpl b/tests/test_closure/test.tpl new file mode 100644 index 0000000..c13bd5a --- /dev/null +++ b/tests/test_closure/test.tpl @@ -0,0 +1,8 @@ +<ste:mktag name="initfoo"> + <ste:set var="x"><ste:tagcontent /></ste:set> + <ste:mktag name="foo"> + <ste:calc>$x + <ste:tagcontent /></ste:calc> + </ste:mktag> +</ste:mktag> +<ste:initfoo>10</ste:initfoo> +<ste:foo>20</ste:foo>
\ No newline at end of file |