PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / misplaced_implicit_character.f90
blobfc79b80d0f45754ac8b85861f5a2bd82d120fcd5
1 ! { dg-do compile }
2 ! PR fortran/69963
3 subroutine s
4 real x ! { dg-error "" }
5 implicit character (a) ! { dg-error "IMPLICIT statement at .1. cannot follow data declaration statement at .2." }
6 x = 1
7 a = 'a'
8 end subroutine s