summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/lto/pr41764_0.f
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/lto/pr41764_0.f')
-rw-r--r--gcc/testsuite/gfortran.dg/lto/pr41764_0.f13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/lto/pr41764_0.f b/gcc/testsuite/gfortran.dg/lto/pr41764_0.f
new file mode 100644
index 00000000000..fd231508383
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/lto/pr41764_0.f
@@ -0,0 +1,13 @@
+! { dg-lto-do link }
+! FIXME: This test used to fail with gold and -fuse-linker-plugin. It is
+! here for people testing with RUNTESTFLAGS=-fuse-linker-plugin, but it would
+! be nice to create "dg-effective-target-supports linker-plugin" and use it.
+ PROGRAM INIRAN
+ INTEGER IX, IY, IZ
+ COMMON /XXXRAN/ IX, IY, IZ
+ END
+ BLOCKDATA RAEWIN
+ INTEGER IX, IY, IZ
+ COMMON /XXXRAN/ IX, IY, IZ
+ DATA IX, IY, IZ / 1974, 235, 337 /
+ END