summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/external_implicit_none.f90
blob: 43cfb2848046e0eb4ecfae7138e323cce395d139 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
! Tests fix for PR18737 - ICE on external symbol of unknown type.
program test
  implicit none
  real(8) :: x
  external bug  ! { dg-error "has no IMPLICIT type" }

  x = 2
  print *, bug(x)
  
end program test