brintos

brintos / llvm-project-archived public Read only

0
0
Text · 185 B · ce1886c Raw
14 lines · cpp
1// RUN: %clang_cc1 -emit-llvm %s -o /dev/null2 3#pragma pack(4)4 5struct Bork {6  unsigned int f1 : 3;7  unsigned int f2 : 30;8};9 10void Foo(Bork *hdr) {11  hdr->f1 = 7;12  hdr->f2 = 927;13}14