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
re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr15140.f90
blob
80c08dda95414fed756c592327331ecc4a7f4ffd
1
! { dg-do run }
2
! PR 15140: we used to fail an assertion, because we don't use the
3
! argument of the subroutine directly, but instead use a copy of it.
4
function
M
(
NAMES
)
5
CHARACTER
*(*)
NAMES
(*)
6
if
(
any
(
names
(
1
:
2
).
ne
.
"asdfg"
))
STOP
1
7
m
=
LEN
(
NAMES
(
1
))
8
END function
M
9
10
character
(
5
) ::
c
(
2
)
11
c
=
"asdfg"
12
if
(
m
(
c
).
ne
.5
)
STOP
1
13
end