Skip to content

Commit c33200a

Browse files
committed
[CIR][Lowering] Fixed type in check from array to struct
1 parent 0b8f64b commit c33200a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CIR/Lowering/nested-union-array.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ struct nested
1111
static const char * const test[] = {
1212
"test",
1313
};
14-
const struct nested data[] =
14+
const struct nested data[] =
1515
{
1616
{
1717
{
@@ -25,4 +25,4 @@ const struct nested data[] =
2525
},
2626
};
2727

28-
// LLVM: @data = constant [2 x {{.*}}]
28+
// LLVM: @data = constant { { { ptr } }, { { ptr } } }

0 commit comments

Comments
 (0)