1! { dg-do compile }
2! { dg-options "-std=f2003" }
3!
4! PR fortran/40569
5!
6! Check compiler_version/compiler_options intrinsics
7!
8use iso_fortran_env, only:  compiler_options ! { dg-error "is not in the selected standard" }
9use iso_fortran_env, only:  compiler_version ! { dg-error "is not in the selected standard" }
10  implicit none
11end
12