Test case for pr2394 and r102979.

llvm-svn: 103129
This commit is contained in:
Stuart Hastings 2010-05-05 22:49:33 +00:00
parent 4cd930f417
commit 7e60a6bd71
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
// RUN: %llvmgcc %s -S -o - | FileCheck %s
struct __attribute((packed)) x {int a : 24;};
int a(struct x* g) {
// CHECK: load i24
return g->a;
}