OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2010-04-06 Tobias Burnus <burnus@net-b.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gfortran.dg
/
allocatable_function_2.f90
1
! { dg-do compile }
2
! Test constraints on ALLOCATABLE functions
3
program alloc_fun
4
5
contains
6
7
elemental function foo (n)
8
integer, intent(in) :: n
9
integer, allocatable :: foo(:) ! { dg-error "ALLOCATABLE .* ELEMENTAL" }
10
end function foo
11
12
end program alloc_fun