Skip to content

Commit 7b2e009

Browse files
authored
[clang] Robustify openmp test (#69739)
If the source path contains 'alias' this would spuriously fail. Be more specific about not wanting global aliases
1 parent 97f0595 commit 7b2e009

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/test/OpenMP/declare_variant_device_kind_codegen.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@
8080

8181
// expected-no-diagnostics
8282

83-
// CHECK-NOT: alias
83+
// Verify no unexpected global symbol aliasing
84+
// CHECK-NOT: @{{[^ ]+}} = {{.*}}alias
8485

8586
// CHECK-NOT: ret i32 {{1|4|81|84}}
8687
// CHECK-DAG: declare {{.*}}i32 @_Z5bazzzv()

0 commit comments

Comments
 (0)