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 compilation failure with C++98 compilers
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
whole_file_16.f90
blob
c45251e8c3ad0307f02915b5f86f56e2b840c565
1
! { dg-do compile }
2
!
3
! PR fortran/31346
4
!
5
program
main
6
real
,
dimension
(
2
) ::
a
7
call
foo
(
a
)
! { dg-error "Explicit interface required" }
8
end program
main
9
10
subroutine
foo
(
a
)
11
real
,
dimension
(:) ::
a
12
end subroutine
foo