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