--TEST--
Bug #60165 (Aliasing unexisting trait should throw/trigger the exception/error)
--FILE--
<?php

trait {
    public function 
bar() {}
}

trait 
{
    public function 
foo() {}
}

class 
MyClass {
    use 
A{
        
foo as fooB;
        
baz as foobar;
    }
}

--
EXPECTF--
Fatal errorAn alias (foobarwas defined for method baz(), but this method does not exist in %s on line %d