Security update for Core, with self-updated composer
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / tags / macro / from_with_reserved_name.test
1 --TEST--
2 "from" tag with reserved name
3 --TEMPLATE--
4 {% from 'forms.twig' import templateName %}
5 --TEMPLATE(forms.twig)--
6 --DATA--
7 return array()
8 --EXCEPTION--
9 Twig_Error_Syntax: "templateName" cannot be an imported macro as it is a reserved keyword in "index.twig" at line 2.