blob: 6fd027635a399b28e63f804d23d26761af9e3120 [file] [log] [blame]
// RUN: %dragonegg -S %s -o - | FileCheck %s
// Overaligned load of field bf.
struct S {
char s;
char bf : 3;
};
void bar(S &);
void foo(S &rhs) {
if (rhs.bf == 0)
bar(rhs);
// CHECK: load i8* {{.*}}, align 1
}