2 ! PR fortran/104212 - ICE in transformational_result
3 ! Contributed by G.Steinmetz
6 logical, parameter :: a(*,*) = reshape([.true
.,.false
.], shape
=[1,2])
7 real, parameter :: r(*,*) = reshape([1.,2.], shape
=[1,2])
9 print *, parity(a
, dim
=1)
10 print *, parity(a
, dim
=[1]) ! { dg-error "must be a scalar" }
12 print *, norm2 (r
, dim
=1)
13 print *, norm2 (r
, dim
=[1]) ! { dg-error "must be a scalar" }