summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/entry_8.f90
blob: 02ec2b904ad8f8015e7b2ad6faa3605feab6b25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! { dg-do compile }
! Check for PR 27478
      FUNCTION X()
      ENTRY X1
      IF (X .GT. 0) CALL FOO(X)
      IF (Y .GT. 0) CALL FOO(Y)
      END

      FUNCTION TSL(PIN)
      ENTRY TSL1(PIN)
      IF (DBLE(TSL) .GT. PIN) TSL = 705.47
      TSL= PPP(TSL)
      END