projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Security update to Drupal 8.4.6
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
tags
/
for
/
loop_not_defined_cond.test
1
--TEST--
2
"for" tag
3
--TEMPLATE--
4
{% for i, item in items if loop.last > 0 %}
5
{% endfor %}
6
--DATA--
7
return array('items' => array('a', 'b'))
8
--EXCEPTION--
9
Twig_Error_Syntax: The "loop" variable cannot be used in a looping condition in "index.twig" at line 2.