URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [enum_4.f90] - Rev 695
Compare with Previous | Blame | View Log
! Program to test the default initialisation of enumerators inside different program unitmodule modimplicit noneenum, bind (c)enumerator :: red , yellow, blueenumerator :: greenend enumend module modprogram mainuse modimplicit noneif (red /= 0 ) call abortif (yellow /= 1) call abortif (blue /= 2) call abortif (green /= 3) call abortend program main
