Security update to Drupal 8.4.6
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / regression / combined_debug_info.test
1 --TEST--
2 Exception with bad line number
3 --TEMPLATE--
4 {% block content %}
5     {{ foo }}
6     {{ include("foo") }}
7 {% endblock %}
8 index
9 --TEMPLATE(foo)--
10 foo
11 {{ foo.bar }}
12 --DATA--
13 return array('foo' => 'foo');
14 --EXCEPTION--
15 Twig_Error_Runtime: Impossible to access an attribute ("bar") on a string variable ("foo") in "foo" at line 3.