Fix internal error on function call returning extension of limited interface
[official-gcc.git] / gcc / testsuite / gnat.dg / elab6_pkg.adb
blobb6a360d3f5637f7cc78009b17a28ea2f6f737ee7
1 package body Elab6_Pkg is
2 protected Prot_Obj is
3 entry Ent;
4 end Prot_Obj;
6 procedure Call_Ent is
7 begin
8 Prot_Obj.Ent;
9 end Call_Ent;
11 protected body Prot_Obj is
12 entry Ent when True is
13 begin
14 null;
15 end Ent;
16 end Prot_Obj;
17 end Elab6_Pkg;