summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/check1.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/check1.ads')
-rw-r--r--gcc/testsuite/gnat.dg/check1.ads6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/check1.ads b/gcc/testsuite/gnat.dg/check1.ads
new file mode 100644
index 000000000..baeeda007
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/check1.ads
@@ -0,0 +1,6 @@
+package Check1 is
+ type Arr is array (Integer range <>) of Integer;
+ type P2 is access all Arr;
+ type R (Disc : access Arr) is limited null record;
+ function FD (X : access R) return P2;
+end Check1;