bolt/deps/llvm-18.1.8/flang/test/Evaluate/compiler_options_fc1.f90

13 lines
323 B
Fortran
Raw Normal View History

2025-02-14 19:21:04 +01:00
! RUN: %flang_fc1 -fdebug-unparse %s 2>&1 | FileCheck %s
program main
use ISO_FORTRAN_ENV, only: compiler_options
implicit none
character (len = :), allocatable :: v
! CHECK: v="{{.*}}flang{{.*}} -fdebug-unparse {{.*}}"
v = compiler_options()
print *, v
deallocate(v)
close(1)
end program main