6 print *, nearest(x
, 0.) ! { dg-error "shall not be zero" }
7 print *, nearest(y
, 0.) ! { dg-error "shall not be zero" }
8 print *, nearest([1., 2.] / 3., 0.) ! { dg-error "shall not be zero" }
9 print *, nearest(1., 0.) ! { dg-error "shall not be zero" }