Debian Codegraph @

gcc/testsuite/gfortran.dg/lto/pr87689_0.f

raw
1 ! { dg-lto-do run }
2 ! PR 87689 - this used to fail for POWER, plus it used to
3 ! give warnings about mismatches with LTO.
4 ! Original test case by Judicaƫl Grasset.
5 program main
6 implicit none
7 character :: c
8 character(len=20) :: res, doesntwork_p8
9 external doesntwork_p8
10 c = 'o'
11 res = doesntwork_p8(c,1,2,3,4,5,6)
12 if (res /= 'foo') stop 3
13 end program main