--TEST-- Constructor promotion can be used inside a trait --FILE-- --EXPECT-- object(Test2)#1 (1) { ["prop"]=> int(42) }