RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gnat.dg / default_pkg_actual2.adb
blob7ab614a0994481a77880956426672867ecfb5e36
1 -- { dg-do compile }
3 procedure Default_Pkg_Actual2 is
5 generic
6 package P1 is
7 end;
9 generic
10 with package FP1a is new P1;
11 with package FP1b is new P1;
12 package P2 is
13 end;
15 generic
16 with package FP2 is new P2 (FP1a => <>, FP1b => <>);
17 package P3 is
18 end;
20 package NP1a is new P1;
21 package NP1b is new P1;
22 package NP2 is new P2 (NP1a, NP1b);
23 package NP4 is new P3 (NP2);
25 begin
26 null;
27 end;