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
coarray_41.f90: Add "-latomic" option if libatomic_available.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
select_char_3.f90
blob
f0a7c8741751951f321ad33b091efb84ccf61ca3
1
! PR fortran/40206
2
! { dg-do compile }
3
! { dg-options "-O2 -Wuninitialized" }
4
5
function
char2type
(
char
)
6
character
,
intent
(
in
) ::
char
7
integer
::
char2type
8
9
select
case
(
char
)
10
case
(
'E'
,
'e'
)
11
char2type
=
1
12
case default
13
char2type
=-
1234
14
end
select
15
end function