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
/
char_allocation_1.f90
blob
119badb4d105834d17e1e1e9c319fefcf250fe05
1
! PR fortran/31974
2
! { dg-do run }
3
subroutine
foo
(
n
)
4
integer
::
n
5
character
(
len
=
n
) ::
v
(
n
)
6
v
=
''
7
if
(
any
(
v
/=
''
))
call
abort
8
end subroutine
foo
9
10
call
foo
(
7
)
11
end