// RUN: %clang_cc1 -emit-llvm %s -o -
#ifdef PACKED
// This is an example where size of Packed struct is smaller then
// the size of bit field type.
#defineP__attribute__((packed))#else#defineP#endifstructPM_Packed{unsignedlonglong X:50;unsigned Y:2;};struct M_Packed sM_Packed;inttestM_Packed (void){struct M_Packed x;return(0!= x.Y);}inttestM_Packed2 (void){struct M_Packed x;return(0!= x.X);}