--TEST--
"extends" tag with a parent as a Twig_TemplateWrapper instance
--TEMPLATE--
{% extends foo %}

{% block content %}New{% endblock %}
--TEMPLATE(foo.twig)--
{% block content %}Default{% endblock %}
--DATA--
return ['foo' => $twig->load('foo.twig')]
--EXPECT--
New
