RISC-V: Refactor Dynamic LMUL codes
[official-gcc.git] / gcc / testsuite / gfortran.dg / maskr_1.f90
blobf8ccdd11ab3d58e9482a1d22feaac352549c3aa4
1 ! { dg-do compile }
3 ! PR fortran/103789
4 ! Check the absence of ICE when generating calls to MASKR with a KIND argument.
6 program p
7 integer :: z(2), y(2), x(2)
8 y = [1, 13]
9 z = maskr(y, kind=4) + 1
10 x = maskr(y, 4) + 1
11 end program p