summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/loop_optimization7_pkg.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/loop_optimization7_pkg.ads')
-rw-r--r--gcc/testsuite/gnat.dg/loop_optimization7_pkg.ads10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/loop_optimization7_pkg.ads b/gcc/testsuite/gnat.dg/loop_optimization7_pkg.ads
new file mode 100644
index 000000000..0eaefa1b0
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/loop_optimization7_pkg.ads
@@ -0,0 +1,10 @@
+package Loop_Optimization7_Pkg is
+ pragma Pure;
+
+ type Rec is record
+ F : Float;
+ end record;
+
+ function Conv (Trig : Rec) return Rec;
+
+end Loop_Optimization7_Pkg;