Skip to content

Commit 550c60e

Browse files
committed
Fixing broken test in D140524 "Flang implementation for COMPILER_VERSION and COMPILER_OPTIONS intrinsics".
1 parent b812932 commit 550c60e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/test/Driver/compiler_options.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
! RUN: %flang -S -emit-llvm -o - %s | FileCheck %s
22
! Test communication of COMPILER_OPTIONS from flang-new to flang-new -fc1.
3-
! CHECK: [[OPTSVAR:@_QQcl\.[0-9a-f]+]] = linkonce constant [[[OPTSLEN:[0-9]+]] x i8] c"{{.*}}flang-new{{(\.exe)?}} -S -emit-llvm -o - {{.*}}compiler_options.f90"
3+
! CHECK: [[OPTSVAR:@_QQcl\.[0-9a-f]+]] = internal constant [[[OPTSLEN:[0-9]+]] x i8] c"{{.*}}flang-new{{(\.exe)?}} -S -emit-llvm -o - {{.*}}compiler_options.f90"
44
program main
55
use ISO_FORTRAN_ENV, only: compiler_options
66
implicit none
77
character (len = :), allocatable :: v
8-
! CHECK: call void @llvm.memmove.p0.p0.i64(ptr %16, ptr [[OPTSVAR]], i64 [[OPTSLEN]], i1 false)
8+
! CHECK: call void @llvm.memmove.p0.p0.i64(ptr %{{[0-9]+}}, ptr [[OPTSVAR]], i64 [[OPTSLEN]], i1 false)
99
v = compiler_options()
1010
print *, v
1111
deallocate(v)

0 commit comments

Comments
 (0)