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
Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git]
/
gcc-4_9
/
gcc
/
testsuite
/
gfortran.dg
/
interface_20.f90
blob
829add2ff9b0a31b53505417f003441bc7dfc924
1
! { dg-do compile }
2
! PR33162 INTRINSIC functions as ACTUAL argument
3
! Test case adapted from PR by Jerry DeLisle <jvdelisle@gcc.gnu.org>
4
module
m
5
implicit none
6
contains
7
subroutine
sub
(
a
)
8
interface
9
function
a
()
10
real
::
a
11
end function
a
12
end interface
13
print
*,
a
()
14
end subroutine
sub
15
end module
m
16
use
m
17
implicit none
18
intrinsic
cos
19
call
sub
(
cos
)
! { dg-error "wrong number of arguments" }
20
end