aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/macro/special_chars.test
blob: 3721770730d00cb5ede96b7849235ed71e291f62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
"§" as a macro name
--TEMPLATE--
{% import _self as macros %}

{{ macros.§('foo') }}

{% macro §(foo) %}
  §{{ foo }}§
{% endmacro %}
--DATA--
return array()
--EXPECT--
§foo§