--TEST--
"macro" tag
--TEMPLATE--
{% block foo %}
    {%- import _self as lmacros %}

    {% block bar %}
        {{- lmacros.input('username') }}
    {% endblock %}
{% endblock %}

{% macro input(name) -%}
    <input name="{{ name }}">
{% endmacro %}
--DATA--
return []
--EXCEPTION--
Twig\Error\RuntimeError: Variable "lmacros" does not exist in "index.twig" at line 6.
