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