--TEST--
"spaceless" tag in the root level of a child template
--DEPRECATION--
The spaceless tag in "index.twig" at line 3 is deprecated since Twig 2.7, use the spaceless filter instead.
Using the spaceless tag at the root level of a child template in "index.twig" at line 3 is deprecated since Twig 2.5.0 and will become a syntax error in 3.0.
Nesting a block definition under a non-capturing node in "index.twig" at line 4 is deprecated since Twig 2.5.0 and will become a syntax error in 3.0.
--TEMPLATE--
{% extends "layout.twig" %}
{% spaceless %}
    {% block content %}
        <h1>
            <b>Title</b>
        </h1>
    {% endblock %}
{% endspaceless %}
--TEMPLATE(layout.twig)--
{% block content %}FOO{% endblock %}
--DATA--
return array()
--EXPECT--
        <h1>
            <b>Title</b>
        </h1>
