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
RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
data_stmt_pointer.f90
blob
923860e0b848f70ce1377f10860a94481f8a7fc1
1
! { dg-do run }
2
program
foo
3
real
,
pointer
::
p
4
real
,
save
,
target
::
x
=
42
5
data
p
/
x
/
6
if
(
p
/=
42
)
stop
1
7
call
bar
8
end program
foo
9
10
subroutine
bar
11
type
bah
12
integer
,
pointer
::
p
13
end type
bah
14
type
(
bah
)
a
15
integer
,
save
,
target
::
i
=
42
16
data
a
%
p
/
i
/
17
if
(
a
%
p
/=
42
)
stop
2
18
end subroutine
19