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
2018-06-09 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr78278.f90
blob
fd50e3e1c186d8605e16f80c3e2d750f602bf363
1
! { dg-do compile }
2
! { dg-options "-std=f95" }
3
! PR fortran/78278
4
program
p
5
character
,
pointer
::
x
=>
null
()
6
data
x
/
null
()/
! { dg-error "GNU Extension: re-initialization" }
7
print
*,
associated
(
x
)
8
end
9
10
subroutine
foo
11
real
::
x
=
42
12
data
x
/
0
/
! { dg-error "GNU Extension: re-initialization" }
13
print
*,
x
14
end subroutine
foo