diff options
Diffstat (limited to 'gcc/testsuite/gnat.dg/lto9.adb')
-rw-r--r-- | gcc/testsuite/gnat.dg/lto9.adb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/lto9.adb b/gcc/testsuite/gnat.dg/lto9.adb new file mode 100644 index 0000000..f4ec040 --- /dev/null +++ b/gcc/testsuite/gnat.dg/lto9.adb @@ -0,0 +1,15 @@ +-- { dg-do run } +-- { dg-options "-flto" { target lto } } + +with Lto9_Pkg1; use Lto9_Pkg1; + +procedure Lto9 is + +begin + + District_Subscription_Lists.Put + (List => District_01_Subscribers, + Elem_Ptr => New_Subscriber_01'Access, + Location => 1); + +end; |