1-- { dg-do compile }
2package Import_Abstract is
3   type T1 is abstract tagged null record;
4   procedure p1(X : T1) is abstract;
5   pragma Import (Ada, p1);    -- { dg-error "cannot import abstract subprogram" }
6end Import_Abstract;
7