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
/
pr95373_2.f90
blob
b0f3da0a20d7f7645a9a5499be18b6d133fa42eb
1
! { dg-do compile }
2
! { dg-options "-std=f2003" }
3
! PR fortran/95373 - ICE in build_reference_type, at tree.c:7942
4
5
subroutine
s
(
x
)
6
complex
,
parameter
::
z
=
3
7
real
(
z
%
kind
) ::
x
8
type
t
9
real
::
kind
10
logical
::
re
11
end type
t
12
type
(
t
) ::
b
13
print
*,
b
%
kind
,
b
%
re
14
print
*,
z
%
re
! { dg-error "Fortran 2008: RE or IM part_ref" }
15
end