blob: 5c824a3e08f124c2fb258038266ee02e366b4949 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 %s -emit-llvm -o -
2
3# define pck __attribute__((packed))
4
5
6struct pck E {
7 unsigned long long l,
8 i : 12,
9 j : 23,
10 k : 29; };
11
12struct E e1;
13
14void foo() {
15 e1.k = 5;
16}