1--TEST--
2Exception for syntax error in reused template
3--TEMPLATE--
4{% use 'foo.twig' %}
5--TEMPLATE(foo.twig)--
6{% block bar %}
7    {% do node.data = 5 %}
8{% endblock %}
9--EXCEPTION--
10Twig\Error\SyntaxError: Unexpected token "operator" of value "=" ("end of statement block" expected) in "foo.twig" at line 3.
11