PR target/83368
[official-gcc.git] / gcc / testsuite / gfortran.dg / external_implicit_none.f90
blob43cfb2848046e0eb4ecfae7138e323cce395d139
1 ! { dg-do compile }
2 ! Tests fix for PR18737 - ICE on external symbol of unknown type.
3 program test
4 implicit none
5 real(8) :: x
6 external bug ! { dg-error "has no IMPLICIT type" }
8 x = 2
9 print *, bug(x)
11 end program test