xref: /aosp_15_r20/external/clang/test/CodeGen/PR2643-null-store-to-bitfield.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: %clang_cc1 -emit-llvm -o - %s
2*67e74705SXin Li // PR2643
3*67e74705SXin Li 
foo()4*67e74705SXin Li void foo() {
5*67e74705SXin Li   struct {
6*67e74705SXin Li     int a : 1;
7*67e74705SXin Li     int b : 1;
8*67e74705SXin Li   } entry = {0};
9*67e74705SXin Li }
10*67e74705SXin Li 
11