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