blob: 76b942d5ad035c5011388ee1e42d5a5e907c8d05 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -emit-llvm -o -
Daniel Dunbar10e3ded2008-08-06 05:08:45 +00002
3int main () {
4 struct foo {
5 unsigned a:16;
6 unsigned b:32 __attribute__ ((packed));
7 } x;
8 x.b = 0x56789abcL;
9 return 0;
10}