summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/select_6.f90
blob: 926659c28b4c65f3ea1c75164c1bd33d1a1d8cf0 (plain)
1
2
3
4
5
6
7
8
9
10
! { dg-do compile }
! PR fortran/27457
! This lead to a segfault previously.
        implicit none
        integer(kind=1) :: i
        real :: r(3)
        select case (i)
        case (129) r(4) = 0 { dg-error "Expected the name" }
        end select
        end