2017-12-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / iso_c_binding_compiler_1.f90
blob8eccb6b9e7a1112ae6b3b325c19f3facdb58b153
1 ! { dg-do link }
3 ! PR fortran/40569
5 ! Check compiler_version/compiler_options intrinsics
7 subroutine test()
8 use iso_fortran_env, only: compiler_version
9 print '(3a)', '>>',compiler_version(),'<<'
10 end
12 use iso_fortran_env, foo => compiler_version, bar => compiler_version
13 implicit none
14 print *, foo()
15 print *, bar()
16 print '(3a)', '>',compiler_options(),'<'
17 call test()
18 end