Index: flang/test/Evaluate/compiler_version.f90 =================================================================== --- flang/test/Evaluate/compiler_version.f90 +++ flang/test/Evaluate/compiler_version.f90 @@ -4,7 +4,7 @@ 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)