2 ! { dg-options "-std=legacy" }
20 if (z
) 10, 20, 30 ! { dg-error "Arithmetic IF statement" }
23 if (i
) 10, 20, 30 ! { dg-error "Arithmetic IF statement" }
25 if ( [1] ) 10, 20, 30 ! { dg-error "Arithmetic IF statement" }
26 if ( [1, -1] ) 10, 20, 30 ! { dg-error "Arithmetic IF statement" }
27 if ( [real :: 1, -1] ) 10, 20, 30 ! { dg-error "Arithmetic IF statement" }