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
Fix warnings occured during profiledboostrap on
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
assumed_type_8.f90
blob
543e693bb4b5cf0b04ed5e66be05b0cdf1e94b69
1
! { dg-do compile }
2
!
3
! Issue came up during the review of PR fortran/58793
4
!
5
! Test for TS29113:2012's C407b.
6
!
7
program
test
8
use
iso_c_binding
9
integer
,
target
::
aa
10
call
up
(
c_loc
(
aa
))
11
contains
12
subroutine
up
(
x
)
13
class
(*) ::
x
14
end subroutine
15
subroutine
bar
(
x
)
16
type
(*) ::
x
17
call
up
(
x
)
! { dg-error "Assumed-type actual argument at .1. requires that dummy argument 'x' is of assumed type" }
18
end subroutine
bar
19
end program
test