aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr108544.f90
blob: 783cb7aaf7bd093ca768c721bfce97dc49b4ef40 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
! PR fortran/108544 - ICE in check_host_association
! Contributed by G.Steinmetz

module m
contains
  subroutine s
    select type (s => 1) ! { dg-error "Selector shall be polymorphic" }
    end select
  end
end