summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/iso_c_binding_compiler_2.f90
blob: 279cfe60e230c1d7e710b92d8329cf8fe8a9f358 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
! { dg-options "-std=f2003" }
!
! PR fortran/40569
!
! Check compiler_version/compiler_options intrinsics
!
use iso_fortran_env, only:  compiler_options ! { dg-error "is not in the selected standard" }
use iso_fortran_env, only:  compiler_version ! { dg-error "is not in the selected standard" }
  implicit none
end