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