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
/
assumed_type_6.f90
blob
78ff84976807c2efd13f6199b92748b57ebd8d0a
1
! { dg-do compile }
2
!
3
! PR fortran/
4
!
5
! Contributed by VladimĂr Fuka
6
!
7
function
avg
(
a
)
8
integer
::
avg
9
integer
,
intent
(
in
) ::
a
(..)
10
11
avg
=
sum
(
a
)/
size
(
a
)
! { dg-error "Assumed-rank argument at .1. is only permitted as actual argument to intrinsic inquiry functions" }
12
end function