Retro68/gcc/gcc/testsuite/gfortran.dg/pr83149_b.f90
Wolfgang Thaller 6fbf4226da gcc-9.1
2019-06-20 20:10:10 +02:00

16 lines
319 B
Fortran

! Compiled with pr83149_a.f90
! { dg-do run }
! { dg-compile-aux-modules "pr83149_a.f90" }
! { dg-additional-sources pr83149_a.f90 }
!
! Contributed by Neil Carlson <neil.n.carlson@gmail.com>
!
use mod
string = 'fubar'
select case (get_string())
case ('fubar')
case default
stop 1
end select
end