1 2 3 4 5 6 7 8 9
-- { dg-do compile } with anon1; procedure anon2 is begin if anon1.F /= null then null; end if; end anon2;