1-- { dg-do compile } 2 3with ext1; use ext1; 4procedure test_ext1 is 5 X : Regular_Smiley; 6begin 7 X.Set_Mood; 8end; 9