xref: /php-src/Zend/tests/name_collision_06.phpt (revision 1c30c5e7)
1--TEST--
2Object naming collision error: trait/trait
3--FILE--
4<?php
5
6trait A { }
7trait A { }
8
9?>
10--EXPECTF--
11Fatal error: Cannot redeclare trait A (previously declared in %s:%d) in %s on line %d
12