1--TEST--
2Bug #60173 (Wrong error message on reflective trait instantiation)
3--FILE--
4<?php
5
6trait foo { }
7
8$rc = new ReflectionClass('foo');
9$rc->newInstance();
10
11--EXPECTF--
12Fatal error: Cannot instantiate trait foo in %s on line %d
13