1--TEST--
2Check error message for missing traits
3--FILE--
4<?php
5error_reporting(E_ALL);
6
7class TraitsTest {
8  use THello;
9}
10
11$test = new TraitsTest();
12
13?>
14--EXPECTF--
15Fatal error: Trait "THello" not found in %s on line %d
16