RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr99349.f90
blobe1f4628af0b11991fcc54fa83ff8f2cba1f13a9b
1 ! { dg-do compile }
2 ! PR fortran/99349 - ICE in match_data_constant
3 ! Contributed by G.Steinmetz
5 function f()
6 logical, parameter :: a((1.)/0) = .true. ! { dg-error "Parameter array" }
7 integer :: b
8 data b /a%kind/ ! { dg-error "Syntax error" }
9 end