summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/lto6_pkg.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/lto6_pkg.ads')
-rw-r--r--gcc/testsuite/gnat.dg/lto6_pkg.ads8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/lto6_pkg.ads b/gcc/testsuite/gnat.dg/lto6_pkg.ads
new file mode 100644
index 000000000..81b7ddc5a
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/lto6_pkg.ads
@@ -0,0 +1,8 @@
+with Ada.Finalization; use Ada.Finalization;
+
+package Lto6_Pkg is
+ type F_String is new Controlled with record
+ Data : access String;
+ end record;
+ Null_String : constant F_String := (Controlled with Data => null);
+end Lto6_Pkg;