Skip to content

Commit 4bd9b9e

Browse files
committed
Fix failing bot with changes to _Countof testing
This addresses the issue found by: https://lab.llvm.org/buildbot/#/builders/190/builds/18484
1 parent c536967 commit 4bd9b9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/C/C2y/n3369_2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
typedef typeof(sizeof(0)) size_t;
77

8-
// CHECK-LABEL: define dso_local i64 @test1(
8+
// CHECK-LABEL: define{{( dso_local)?}} i64 @test1(
99
// CHECK-SAME: ) #[[ATTR0:[0-9]+]] {
1010
// CHECK-NEXT: [[ENTRY:.*:]]
1111
// CHECK-NEXT: [[ARRAY:%.*]] = alloca [12 x i32], align
@@ -16,7 +16,7 @@ size_t test1() {
1616
return _Countof(array);
1717
}
1818

19-
// CHECK-LABEL: define dso_local i64 @test2(
19+
// CHECK-LABEL: define{{( dso_local)?}} i64 @test2(
2020
// CHECK-SAME: ) #[[ATTR0]] {
2121
// CHECK-NEXT: [[ENTRY:.*:]]
2222
// CHECK-NEXT: ret i64 100

0 commit comments

Comments
 (0)