summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/aggr9.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/aggr9.adb')
-rw-r--r--gcc/testsuite/gnat.dg/aggr9.adb12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/aggr9.adb b/gcc/testsuite/gnat.dg/aggr9.adb
new file mode 100644
index 000000000..70d026fdd
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/aggr9.adb
@@ -0,0 +1,12 @@
+-- { dg-do compile }
+-- { dg-options "-O" }
+
+package body Aggr9 is
+
+ procedure Proc (X : R1) is
+ M : R2 := (F => X);
+ begin
+ Send (M);
+ end;
+
+end Aggr9;