Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gfortran.dg / select_7.f90
blob15b0750c4f114a96e21731d2a35db4b8cf43aceb
1 ! { dg-do compile }
2 ! Tests the fix for PR25073 in which overlap in logical case
3 ! expressions was permitted.
5 ! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
7 LOGICAL :: L
8 SELECT CASE(L)
9 CASE(.true.)
10 CASE(.false.)
11 CASE(.true.) ! { dg-error "value in CASE statement is repeated" }
12 END SELECT
13 END