repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/27177
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
select_7.f90
blob
15b0750c4f114a96e21731d2a35db4b8cf43aceb
1
! { dg-do compile }
2
! Tests the fix for PR25073 in which overlap in logical case
3
! expressions was permitted.
4
!
5
! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
6
!
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