2 ! { dg-options "-std=f95" }
3 ! PR fortran/95373 - ICE in build_reference_type, at tree.c:7942
6 complex, parameter :: z
= 3
7 real(z
% kind
) :: x
! { dg-error "Fortran 2003: KIND part_ref" }
13 print *, b
% kind
, b
% re
14 print *, z
% re
! { dg-error "Fortran 2008: RE or IM part_ref" }