c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / select_9.f90
blobc580e8162bdec15bf2604545ac6289bfacbdf97f
1 ! { dg-do compile }
2 ! PR fortran/103591 - ICE in gfc_compare_string
3 ! Contributed by G.Steinmetz
5 program p
6 integer :: n
7 select case (n)
8 case ('1':2.) ! { dg-error "cannot be REAL" }
9 end select
10 end