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 0ab515e commit 437bae9Copy full SHA for 437bae9
clang/test/CIR/CodeGen/mms-bitfields.c
@@ -24,6 +24,16 @@ struct s2 {
24
// LLVM-DAG: %struct.s2 = type { i32, i8, i32 }
25
// OGCG-DAG: %struct.s2 = type { i32, i8, i32 }
26
27
+struct s3 {
28
+ int a : 18;
29
+ int : 0;
30
+ int c : 14;
31
+} zero_bit;
32
+
33
+// CIR-DAG: !rec_s3 = !cir.record<struct "s3" {!s32i, !s32i}>
34
+// LLVM-DAG: %struct.s3 = type { i32, i32 }
35
+// OGCG-DAG: %struct.s3 = type { i32, i32 }
36
37
#pragma pack (push,1)
38
39
struct Inner {
0 commit comments