--TEST--
Deprecating a template with "deprecated" tag
--TEMPLATE--
{% extends 'greeting.twig' %}

{% deprecated 'The "index.twig" template is deprecated, use "greeting.twig" instead.' %}
--TEMPLATE(greeting.twig)--
Hello Fabien
--DATA--
return array()
--EXPECT--
Hello Fabien
