summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PR2643-null-store-to-bitfield.c
blob: d6c2f36aa503b8b96faf1fc8eb23025e92ae836e (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -emit-llvm -o - %s
// PR2643

void foo() {
  struct {
    int a : 1;
    int b : 1;
  } entry = {0};
}