| Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s | 
| 2 | struct __attribute((packed)) x {int a : 24;}; | ||||
| 3 | int a(struct x* g) { | ||||
| 4 | // CHECK: load i16 | ||||
| 5 | // CHECK: load i8 | ||||
| 6 | return g->a; | ||||
| 7 | } | ||||