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
/
unlimited_polymorphic_14.f90
blob
6bc9e34957b602164f5bed4315fa8f791798970a
1
! { dg-do run }
2
!
3
! Uncovered in fixing PR fortran/58793
4
!
5
! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
6
!
7
! Barfed on the hollerith argument
8
!
9
program
test
10
logical
l
11
call
up
(
"abc"
,
l
)
12
if
(
l
)
STOP
1
13
call
up
(
3
habc
,
l
)
! { dg-warning "Legacy Extension" }
14
if
(.
not
.
l
)
STOP
2
15
contains
16
subroutine
up
(
x
,
l
)
17
class
(*) ::
x
18
logical
l
19
select
type
(
x
)
20
type
is
(
character
(*))
21
l
= .
false
.
22
class default
23
l
= .
true
.
24
end
select
25
end subroutine
26
end program
test