blob: ebfef95de518d32a1cab9e25926588ac55514cb1 [file] [log] [blame]
! RUN: %flang_fc1 -fdebug-unparse %s 2>&1 | FileCheck %s
program main
use ISO_FORTRAN_ENV, only: compiler_version
implicit none
character (len = :), allocatable :: v
! CHECK: v="flang version {{.*}}"
v = compiler_version()
print *, v
deallocate(v)
close(1)
end program main