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
/
namelist_3.f90
blob
3f20ea400c489a15f046de4a00c8337ae4c9ad31
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 conflicts with POINTER attribute" }
8
end program
namelist_3