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
2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
namelist_3.f90
blob
722b94027ce1a2e5a9ab030772b28a400864b65b
1
! { dg-do compile }
2
! { dg-options "-std=f95" }
3
! Check that a pointer cannot be a member of a namelist
4
program
namelist_3
5
integer
,
pointer
::
x
6
allocate
(
x
)
7
namelist
/
n
/
x
! { dg-error "NAMELIST attribute with POINTER attribute" "" }
8
end program
namelist_3