2018-02-23 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr83149_b.f90
blobf67ffd95159f0df17ca3c1b068e68c8b0632ed01
1 ! Compiled with pr83149_a.f90
2 ! { dg-do run }
3 ! { dg-options "-fno-whole-file" }
4 ! { dg-compile-aux-modules "pr83149_a.f90" }
5 ! { dg-additional-sources pr83149_a.f90 }
7 ! Contributed by Neil Carlson <neil.n.carlson@gmail.com>
9 use mod
10 string = 'fubar'
11 select case (get_string())
12 case ('fubar')
13 case default
14 stop 1
15 end select
16 end