-- { dg-do compile } -- { dg-excess-errors "instantiation abandoned" } with Incomplete1; package body Incomplete2 is end Incomplete2;