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
2011-05-23 Tom de Vries <tom@codesourcery.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
whole_file_18.f90
blob
f758408f81e3e6368536fb450e9010f255c02615
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