1--TEST--
2"for" tag
3--TEMPLATE--
4{% for i, item in items if i > 0 %}
5    {{ loop.last }}
6{% endfor %}
7--DATA--
8return ['items' => ['a', 'b']]
9--EXCEPTION--
10Twig\Error\SyntaxError: The "loop.last" variable is not defined when looping with a condition in "index.twig" at line 3.
11