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
modula2: Simplify REAL/LONGREAL/SHORTREAL node creation.
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr86322_1.f90
blob
48079ac7ecca5287590f49ad1174d2d00b7cb74e
1
! { dg-do compile }
2
program
foo
3
implicit none
4
type
a
5
integer
i
6
end type
a
7
type
(
a
),
target
,
save
::
b
8
type
(
a
),
pointer
::
c
9
data
b
%
i
/
42
/
10
data
c
%
i
/
b
%
i
/
! { dg-error "is not rightmost part-ref" }
11
if
(
c
%
i
==
42
)
c
%
i
=
1
! Unreachable
12
end program
foo