--TEST-- Co-variance failure for intersection type where child is union, but not all members are a subtype of intersection 2 --FILE-- --EXPECTF-- Fatal error: Declaration of B::foo(): TestOne|TestTwo must be compatible with A::foo(): X&Z in %s on line %d