2 ! { dg-require-effective-target lto }
3 ! { dg-options "-flto" }
4 ! Check that there are no warnings with LTO for a KIND argument.
8 real, allocatable
:: x(:,:)
11 if (any(shape(x
) /= [ 2, 5 ])) STOP 1
12 if (any(shape(x
,kind
=1) /= [ 2, 5 ])) STOP 2
13 if (any(shape(x
,kind
=2) /= [ 2, 5 ])) STOP 3
14 if (any(shape(x
,kind
=4) /= [ 2, 5 ])) STOP 4
15 if (any(shape(x
,kind
=8) /= [ 2, 5 ])) STOP 5