--TEST--
"use" tag
--TEMPLATE--
{% use 'file2.html.twig' with foobar as base_base_foobar %}
{% block foobar %}
    {{- block('base_base_foobar') -}}
    Content of block (second override)
{% endblock foobar %}
--TEMPLATE(file2.html.twig)--
{% use 'file1.html.twig' with foobar as base_foobar %}
{% block foobar %}
    {{- block('base_foobar') -}}
    Content of block (first override)
{% endblock foobar %}
--TEMPLATE(file1.html.twig)--
{% block foobar -%}
    Content of block
{% endblock foobar %}
--DATA--
return []
--EXPECT--
Content of block
Content of block (first override)
Content of block (second override)
