1--TEST--
2Exception for an undefined template in a child template
3--TEMPLATE--
4{% extends 'base.twig' %}
5
6{% block sidebar %}
7    {{ include('include.twig') }}
8{% endblock %}
9--TEMPLATE(base.twig)--
10{% block sidebar %}
11{% endblock %}
12--DATA--
13return []
14--EXCEPTION--
15Twig\Error\LoaderError: Template "include.twig" is not defined in "index.twig" at line 5.
16