PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr56852.f90
blobbdf76e1f52187b298d8c033f2089c3f02b09e0c0
1 ! { dg-do compile }
2 ! Test the fix for pr56852, where an ICE would occur after the error.
4 ! Contributed by Lorenz Huedepohl <bugs@stellardeath.org>
6 program test
7 implicit none
8 real :: a(4)
9 ! integer :: i
10 read(0) (a(i),i=1,4) ! { dg-error "has no IMPLICIT type" }
11 end program