diff --git a/clang/test/OpenMP/capturing_in_templates.cpp b/clang/test/OpenMP/capturing_in_templates.cpp index 526361b640b9..a4dcbee8fab9 100644 --- a/clang/test/OpenMP/capturing_in_templates.cpp +++ b/clang/test/OpenMP/capturing_in_templates.cpp @@ -15,7 +15,7 @@ pair make_pair(T1 &&t1, T2 &&t2) { // CHECK-LABEL: @main int main(int argc, char **argv) { -// CHECK: call i32 @__tgt_target(i32 -1, i8* [[OFFLOAD:@[^.]+]].region_id, i32 0, i8** null, i8** null, i64* null, i32* null) +// CHECK: call i32 @__tgt_target(i32 -1, i8* @{{.+}}.region_id, i32 0, i8** null, i8** null, i64* null, i32* null) #pragma omp target { for (int i = 0; i < 64; ++i) { @@ -27,5 +27,4 @@ int main(int argc, char **argv) { return 0; } -// CHECK: define internal void [[OFFLOAD]]( // CHECK: call {{.+}} @{{.*}}make_pair