summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/lto13.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gnat.dg/lto13.adb')
-rw-r--r--gcc/testsuite/gnat.dg/lto13.adb9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/lto13.adb b/gcc/testsuite/gnat.dg/lto13.adb
new file mode 100644
index 00000000000..7c7fe16043f
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/lto13.adb
@@ -0,0 +1,9 @@
+-- { dg-do link }
+-- { dg-options "-g -flto" { target lto } }
+
+with Lto13_Pkg; use Lto13_Pkg;
+
+procedure Lto13 is
+begin
+ Proc;
+end;