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
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
whole_file_18.f90
blob
c483c7da100c120688dc42fda54be2bdcbc5092d
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 "Explicit interface required" }
9
END PROGRAM
10
11
SUBROUTINE
SUB
(
A
,
I
)
12
REAL
::
A
13
INTEGER
,
OPTIONAL
::
I
14
END SUBROUTINE