repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gfortran.dg
/
namelist_2.f90
blob
b92e459415ce9b8d018f285304e3e27c1ec4c0a1
1
! { dg-do compile }
2
! Check that variable with intent(in) cannot be a member of a namelist
3
subroutine
namelist_2
(
x
)
4
integer
,
intent
(
in
) ::
x
5
namelist
/
n
/
x
6
read
(*,
n
)
! { dg-error "is INTENT" "" }
7
end subroutine
namelist_2