--TEST--
"extends" tag accepts Twig_Template instance
--TEMPLATE--
{% extends foo %}

{% block content %}
{{ parent() }}FOO
{% endblock %}
--TEMPLATE(foo.twig)--
{% block content %}BAR{% endblock %}
--DATA--
return ['foo' => $twig->load('foo.twig')]
--EXPECT--
BARFOO
