summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr31541.c
blob: 0cac26ed09265ca6faa25041a62b5cb6fef9d21d (plain)
1
2
3
4
5
6
7
8
9
typedef unsigned char Uchar;
struct scsi_mode_header {
 unsigned char sense_data_len : 8;
};
int f(void)
{
 struct scsi_mode_header md;
return *(Uchar*)&md;
}