// #target: macos-x64
module test;
bitstruct StructFieldKind : char
{
    bool is_inline : 0;
    bool is_union : 1;
}

fn void main()
{
    StructFieldKind[] xx = { { .is_union = true } };
}

/* #expect: test.ll


define void @test.main() #0 {
entry:
  %xx = alloca %"char[]", align 8
  %literal = alloca [1 x i8], align 1
  store i8 2, ptr %literal, align 1
  %0 = insertvalue %"char[]" undef, ptr %literal, 0
  %1 = insertvalue %"char[]" %0, i64 1, 1
  store %"char[]" %1, ptr %xx, align 8
  ret void
}