summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/aggr19_pkg.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/aggr19_pkg.adb')
-rw-r--r--gcc/testsuite/gnat.dg/aggr19_pkg.adb8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/aggr19_pkg.adb b/gcc/testsuite/gnat.dg/aggr19_pkg.adb
new file mode 100644
index 00000000000..d59da8945e2
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/aggr19_pkg.adb
@@ -0,0 +1,8 @@
+package body Aggr19_Pkg is
+
+ procedure Proc (Pool : in out Rec5) is
+ begin
+ Pool.Ent := (Kind => Two, Node => Pool.Ent.Node, I => 0);
+ end;
+
+end ;