URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gfortran.dg/] [selected_kind_1.f90] - Rev 516
Compare with Previous | Blame | View Log
! { dg-do run }
! { dg-options "-fdefault-integer-8" }
! PR fortran/32968
program selected
if (selected_int_kind (1) /= 1) call abort
if (selected_int_kind (3) /= 2) call abort
if (selected_int_kind (5) /= 4) call abort
if (selected_int_kind (10) /= 8) call abort
if (selected_real_kind (1) /= 4) call abort
if (selected_real_kind (2) /= 4) call abort
if (selected_real_kind (9) /= 8) call abort
if (selected_real_kind (10) /= 8) call abort
end program selected