--TEST--
"extends" tag in a macro
--TEMPLATE--
{% macro foo() %}
    {% extends "foo.twig" %}
{% endmacro %}
--DATA--
return []
--EXCEPTION--
Twig\Error\SyntaxError: Cannot use "extend" in a macro in "index.twig" at line 3.
