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