OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [iso_c_binding_compiler_1.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do link }
2
!
3
! PR fortran/40569
4
!
5
! Check compiler_version/compiler_options intrinsics
6
!
7
subroutine test()
8
  use iso_fortran_env, only: compiler_version
9
  print '(3a)', '>>',compiler_version(),'<<'
10
end
11
 
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.