aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendAda/unc_constructor.ads
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendAda/unc_constructor.ads')
-rw-r--r--test/FrontendAda/unc_constructor.ads8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/FrontendAda/unc_constructor.ads b/test/FrontendAda/unc_constructor.ads
new file mode 100644
index 0000000000..d6f8db50d8
--- /dev/null
+++ b/test/FrontendAda/unc_constructor.ads
@@ -0,0 +1,8 @@
+package Unc_Constructor is
+ type C is null record;
+ type A is array (Positive range <>) of C;
+ A0 : constant A;
+ procedure P (X : A);
+private
+ A0 : aliased constant A := (1 .. 0 => (null record));
+end;