brintos

brintos / llvm-project-archived public Read only

0
0
Text · 293 B · 72c30e1 Raw
16 lines · c
1// RUN: %clang_cc1 -triple i686-apple-darwin %s -emit-llvm -o - | FileCheck %s2// Set alignment on bitfield accesses.3 4struct S {5  int a, b;6  void *c;7  unsigned d : 8;8  unsigned e : 8;9};10 11void f0(struct S *a) {12// CHECK: load {{.*}}, align 413// CHECK: store {{.*}}, align 414  a->e = 0;15}16