summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr40999.f
blob: b6fa85ad5b188f62e08927590d2360fcbfcf78d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { dg-do compile }
! { dg-options "-O3 -fwhole-file" }

      SUBROUTINE ZLARFG( ALPHA )
        COMPLEX*16 ZLADIV
        ALPHA = ZLADIV( DCMPLX( 1.0D+0 ) )
      END
      COMPLEX*16 FUNCTION ZLADIV( X )
        COMPLEX*16         X
        CALL DLADIV( DBLE( X ), DIMAG( X ) )
      END