c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / selected_kind_1.f90
blob50524c5f5ed8caced22adb3918a1cb6355308449
1 ! { dg-do run }
2 ! { dg-options "-fdefault-integer-8" }
3 ! PR fortran/32968
4 program selected
6 if (selected_int_kind (1) /= 1) STOP 1
7 if (selected_int_kind (3) /= 2) STOP 2
8 if (selected_int_kind (5) /= 4) STOP 3
9 if (selected_int_kind (10) /= 8) STOP 4
10 if (selected_real_kind (1) /= 4) STOP 5
11 if (selected_real_kind (2) /= 4) STOP 6
12 if (selected_real_kind (9) /= 8) STOP 7
13 if (selected_real_kind (10) /= 8) STOP 8
15 end program selected