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
Plugins: Add label-text.h to CPPLIB_H so it will be installed [PR115288]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
auto_internal_assumed.f90
blob
781aa2e09604e76a920906eb424119ffaad91900
1
! { dg-do compile }
2
! Test fix of PR24705 - ICE on assumed character length
3
! internal function.
4
!
5
character
(
6
) ::
c
6
c
=
f1
()
7
if
(
c
.
ne
.
'abcdef'
)
STOP
1
8
contains
9
function
f1
()
! { dg-error "must not be assumed length" }
10
character
(*) ::
f1
11
f1
=
'abcdef'
12
end function
f1
13
end