summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/parent_ltd_with.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/parent_ltd_with.ads')
-rw-r--r--gcc/testsuite/gnat.dg/parent_ltd_with.ads15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/parent_ltd_with.ads b/gcc/testsuite/gnat.dg/parent_ltd_with.ads
new file mode 100644
index 000000000..637aa7c3b
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/parent_ltd_with.ads
@@ -0,0 +1,15 @@
+limited with Parent_Ltd_With.Child_Full_View;
+
+package Parent_Ltd_With is
+
+ type Symbol is abstract tagged limited private;
+
+ type Symbol_Access is access all Symbol'Class;
+
+private
+
+ type Symbol is abstract tagged limited record
+ Comp : Integer;
+ end record;
+
+end Parent_Ltd_With;