PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / select_type_34.f90
blobe75a7abd56e10c01e0f4bdc1cc03c4b9a827434f
1 ! { dg-do compile }
3 ! PR 58185: [4.8/4.9 Regression] [OOP] ICE when selector in SELECT TYPE is non-polymorphic
5 ! Contributed by John <jwmwalrus@gmail.com>
7 integer :: array
8 select type (a => array) ! { dg-error "Selector shall be polymorphic" }
9 end select
10 end