Re: testing for fortran 90 modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> One of the simplest extensions is an intrinsic module called iso_fortran_env
> which can be included in a fortran program with the use statement.
> The test code would look like this,
>
> program test
> use iso_fortran_env
> write(*,*) 'hello'
> end program

As a nit, I'd use "use, intrinsic :: iso_fortran_env" as it forces
selection of an intrinsic module.  Though unlikely, your version could
be tripped up by the presence of another module named iso_fortran_env.

- Rhys

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux