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
* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
impure_spec_expr_1.f90
blob
1489b5c7398b03cb7096f00941d5ed6572ca7714
1
! { dg-do compile }
2
! Checks the fix for PR33664, in which the apparent function reference
3
! n(1) caused a seg-fault.
4
!
5
! Contributed by Henrik Holst <holst@matmech.com>
6
!
7
module
test
8
contains
9
subroutine
func_1
(
u
,
n
)
10
integer
::
n
11
integer
::
u
(
n
(
1
))
! { dg-error "must be PURE" }
12
end subroutine
13
end module
test