xref: /llvm-project/clang/test/CodeGen/pr2394.c (revision 8f8bad723d0fb448c548d9f417fb36f6dfaee019)
1 // RUN: %clang_cc1 %s -triple i386-apple-darwin10 -emit-llvm -o - | FileCheck %s
2 struct __attribute((packed)) x {int a : 24;};
a(struct x * g)3 int a(struct x* g) {
4   // CHECK: load i24
5   return g->a;
6 }
7