xref: /PHP-5.5/Zend/tests/traits/error_007.phpt (revision 6e8db0b3)
1--TEST--
2Trying to instantiate a trait
3--FILE--
4<?php
5
6trait abc {
7}
8
9new abc;
10
11?>
12--EXPECTF--
13Fatal error: Cannot instantiate trait abc in %s on line %d
14