--TEST--
"import" tag with syntax error
--TEMPLATE--
{% import _self as foo %}

{{ foo.foo() }}

{% macro foo() %}
    {{ foo.another() }}
{% endmacro %}

{% macro another() %}
    OK
{% endmacro %}
--DATA--
return []
--EXCEPTION--
Twig\Error\RuntimeError: Variable "foo" does not exist in "index.twig" at line 7.
