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
[to-be-committed] [RISC-V] Use Zbkb for general 64 bit constants when profitable
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
assumed_type_7.f90
blob
48cb43e7f8de42ff4b92c91bc66d0011e412b0cf
1
! { dg-do compile }
2
!
3
! PR 54190: TYPE(*)/assumed-rank: Type/rank check too relaxed for dummy procedure
4
!
5
! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
6
7
implicit none
8
call
sub
(
f
)
! { dg-error "Type mismatch in argument" }
9
contains
10
11
subroutine
f
(
x
)
12
type
(*) ::
x
13
end subroutine
14
15
subroutine
sub
(
g
)
16
interface
17
subroutine
g
(
x
)
18
integer
::
x
19
end subroutine
20
end interface
21
end subroutine
22
23
end