Skip to content

Commit f4a6bb7

Browse files
committed
Rename test struct
1 parent 08353a3 commit f4a6bb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CIR/CodeGen/struct-init.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o %t.ll
66
// RUN: FileCheck --check-prefix=OGCG --input-file=%t.ll %s
77

8-
struct O {
8+
struct BitfieldStruct {
99
unsigned int a:4;
1010
unsigned int b:14;
1111
unsigned int c:14;
1212
};
1313

14-
O overlapping_init = { 3, 2, 1 };
14+
BitfieldStruct overlapping_init = { 3, 2, 1 };
1515

1616
// This is unintuitive. The bitfields are initialized using a struct of constants
1717
// that maps to the bitfields but splits the value into bytes.

0 commit comments

Comments
 (0)