blob: 87cf163d4d9b30c8c64871c29ce2eea366b70ce6 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2
3struct p {
4 char a;
5 int b;
6} __attribute__ ((packed));
7
8struct p t = { 1, 10 };
9struct p u;
10
11int main () {
12 // CHECK: align 1
13 // CHECK: align 1
14 int tmp = t.b;
15 u.b = tmp;
16 return tmp;
17
18}