Debian Codegraph @

gcc/testsuite/gfortran.dg/pr86551.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/86551 - ICE on invalid code with select type / end select type
3
4 subroutine b
5 type :: t1
6 end type t1
7 class(t1) :: c2
8 select type (d => c2)
9 end select type ! { dg-error "Syntax error" }
10 end ! { dg-error "END SELECT statement expected" }
11
12 ! { dg-prune-output "Unexpected end of file" }