This patch is to allow an extra string prepended to the compiler_version.
The check is enhanced to verify that "flang version" is followed by
numbers in the form of "n.n.n".
Differential Revision: https://reviews.llvm.org/D152572
use ISO_FORTRAN_ENV, only: compiler_version
implicit none
character (len = :), allocatable :: v
-! CHECK: v="flang version {{.*}}"
+! CHECK: v="{{.*}}flang version {{[0-9]*.[0-9]*.[0-9]}} {{.*}}"
v = compiler_version()
print *, v
deallocate(v)