--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|int must be compatible with A::foo(): X&Y in %s on line %d