| 1 |
! { dg-do compile } |
| 2 |
! |
| 3 |
! PR 56081: [4.7/4.8 Regression] Segfault ICE on select with bad case |
| 4 |
! |
| 5 |
! Contributed by Richard L Lozes <[email protected]> |
| 6 |
|
| 7 |
implicit none |
| 8 |
integer :: a(4) |
| 9 |
select case(a) ! { dg-error "must be a scalar expression" } |
| 10 |
case (0) |
| 11 |
end select |
| 12 |
end |