--TEST-- Trying to access a constant on trait via the name of trait causes a Fatal error --FILE-- --EXPECTF-- Fatal error: Uncaught Error: Cannot access trait constant Foo::A directly in %s:%d Stack trace: #0 {main} thrown in %s on line %d