--TEST--
"macro" tag
--TEMPLATE--
{%- import _self as macros %}

{% block foo %}
    {%- import "macros" as macros %}
    {{- macros.input('username') }}
{% endblock %}

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

{% macro input(name) -%}
    <input name="{{ name }}">
{% endmacro %}
--TEMPLATE(macros)--
{% macro input(name) %}
    <input name="{{ name }}" value="local">
{% endmacro %}
--DATA--
return []
--EXPECT--
<input name="username" value="local">


<input name="username">
