PR target/83368
[official-gcc.git] / gcc / testsuite / gfortran.dg / selected_kind_1.f90
blob0c710546d4efe7a211d8322466c3b79eae003b2e
1 ! { dg-do run }
2 ! { dg-options "-fdefault-integer-8" }
3 ! PR fortran/32968
4 program selected
6 if (selected_int_kind (1) /= 1) call abort
7 if (selected_int_kind (3) /= 2) call abort
8 if (selected_int_kind (5) /= 4) call abort
9 if (selected_int_kind (10) /= 8) call abort
10 if (selected_real_kind (1) /= 4) call abort
11 if (selected_real_kind (2) /= 4) call abort
12 if (selected_real_kind (9) /= 8) call abort
13 if (selected_real_kind (10) /= 8) call abort
15 end program selected