gcc/testsuite/gfortran.dg/lto/pr87689_1.f
raw| 1 | function doesntwork_p8(c,a1,a2,a3,a4,a5,a6) |
| 2 | implicit none |
| 3 | character(len=20) :: doesntwork_p8 |
| 4 | character :: c |
| 5 | integer :: a1,a2,a3,a4,a5,a6 |
| 6 | if (a1 /= 1 .or. a2 /= 2 .or. a3 /= 3 .or. a4 /= 4 .or. a5 /= 5 |
| 7 | & .or. a6 /= 6) stop 1 |
| 8 | if (c /= 'o ') stop 2 |
| 9 | doesntwork_p8 = 'foo' |
| 10 | return |
| 11 | end |