summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/pr2394.c
blob: f1091ec2fba3e23f1a0c3587a254274216cdfa71 (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
struct __attribute((packed)) x {int a : 24;};
int a(struct x* g) {
  // CHECK: load i24
  return g->a;
}
OpenPOWER on IntegriCloud