aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/specs/generic_inst4-child2.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/specs/generic_inst4-child2.ads')
-rw-r--r--gcc/testsuite/gnat.dg/specs/generic_inst4-child2.ads5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/specs/generic_inst4-child2.ads b/gcc/testsuite/gnat.dg/specs/generic_inst4-child2.ads
new file mode 100644
index 0000000..c84709e
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/specs/generic_inst4-child2.ads
@@ -0,0 +1,5 @@
+-- { dg-do compile }
+
+with Generic_Inst4.Child1;
+
+package Generic_Inst4.Child2 is new Generic_Inst4.Child1;