We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c536967 commit 4bd9b9eCopy full SHA for 4bd9b9e
clang/test/C/C2y/n3369_2.c
@@ -5,7 +5,7 @@
5
6
typedef typeof(sizeof(0)) size_t;
7
8
-// CHECK-LABEL: define dso_local i64 @test1(
+// CHECK-LABEL: define{{( dso_local)?}} i64 @test1(
9
// CHECK-SAME: ) #[[ATTR0:[0-9]+]] {
10
// CHECK-NEXT: [[ENTRY:.*:]]
11
// CHECK-NEXT: [[ARRAY:%.*]] = alloca [12 x i32], align
@@ -16,7 +16,7 @@ size_t test1() {
16
return _Countof(array);
17
}
18
19
-// CHECK-LABEL: define dso_local i64 @test2(
+// CHECK-LABEL: define{{( dso_local)?}} i64 @test2(
20
// CHECK-SAME: ) #[[ATTR0]] {
21
22
// CHECK-NEXT: ret i64 100
0 commit comments