2 ! { dg-options "-std=f2008 " }
9 if (selected_real_kind(radix
=2) /= 4) call should_not_fail()
10 if (selected_real_kind(radix
=4) /= -5) call should_not_fail()
11 if (selected_real_kind(precision(0.0),range(0.0),radix(0.0)) /= kind(0.0)) &
12 call should_not_fail()
13 if (selected_real_kind(precision(0.0d0),range(0.0d0),radix(0.0d0)) /= kind(0.0d0)) &
14 call should_not_fail()
19 if (selected_real_kind(radix
=rdx
) /= 4) STOP 1
21 if (selected_real_kind(radix
=rdx
) /= -5) STOP 2
26 if (selected_real_kind(p
,r
,rdx
) /= kind(0.0)) STOP 3
31 if (selected_real_kind(p
,r
,rdx
) /= kind(0.0d0)) STOP 4