php-parser/test/code/formatPreservation/traitAlias.test
Nikita Popov b241a121a3 Fix trait alias to semi-reserved name parsing
This was missing the explicit construction of an Identifier node.
2017-10-29 14:15:48 +01:00

19 lines
184 B
Plaintext

Trait alias
-----
<?php
class X {
use T {
exit
as die;
}
}
-----
/* do nothing */
-----
<?php
class X {
use T {
exit
as die;
}
}