repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gfortran.dg
/
whole_file_18.f90
blob
fac15d6ca4f763a39df8a34bd6b61c5c402fe0eb
1
! { dg-do "compile" }
2
! { dg-options "-fwhole-file -Wno-unused-dummy-argument" }
3
!
4
! PR fortran/34260
5
!
6
PROGRAM
MAIN
7
REAL
A
8
CALL
SUB
(
A
)
! { dg-error "requires an explicit interface" }
9
END PROGRAM
10
11
SUBROUTINE
SUB
(
A
,
I
)
12
REAL
::
A
13
INTEGER
,
OPTIONAL
::
I
14
END SUBROUTINE