structS14{// expected-warning {{packed attribute is unnecessary for 'S14'}}
chara,b,c,d;
}__attribute__((packed));
structS15{// expected-warning {{packed attribute is unnecessary for 'S15'}}
structS14s;
chara;
}__attribute__((packed));
structS16{// expected-warning {{padding size of 'S16' with 2 bytes to alignment boundary}} expected-warning {{packed attribute is unnecessary for 'S16'}}
chara,b;
}__attribute__((packed,aligned(4)));
structS17{
structS16s;
chara,b;
}__attribute__((packed,aligned(2)));
structS18{// expected-warning {{padding size of 'S18' with 2 bytes to alignment boundary}} expected-warning {{packed attribute is unnecessary for 'S18'}}
structS16s;
chara,b;
}__attribute__((packed,aligned(4)));
structS19{// expected-warning {{packed attribute is unnecessary for 'S19'}}
boolb;
chara;
}__attribute__((packed,aligned(1)));
structS20{
inti;
chara;
}__attribute__((packed,aligned(1)));
structS21{// expected-warning {{padding size of 'S21' with 4 bits to alignment boundary}}
unsignedchara:6;
unsignedcharb:6;
}__attribute__((packed,aligned(1)));
structS22{// expected-warning {{packed attribute is unnecessary for 'S22'}}
unsignedchara:4;
unsignedcharb:4;
}__attribute__((packed));
structS23{// expected-warning {{padding size of 'S23' with 4 bits to alignment boundary}} expected-warning {{packed attribute is unnecessary for 'S23'}}
unsignedchara:2;
unsignedcharb:2;
}__attribute__((packed));
structS24{
unsignedchara:6;
unsignedcharb:6;
unsignedcharc:6;
unsignedchard:6;
unsignedchare:6;
unsignedcharf:6;
unsignedcharg:6;
unsignedcharh:6;
}__attribute__((packed));
structS25{// expected-warning {{padding size of 'S25' with 7 bits to alignment boundary}} expected-warning {{packed attribute is unnecessary for 'S25'}}
unsignedchara;
unsignedcharb:1;
}__attribute__((packed));
structS26{// expected-warning {{packed attribute is unnecessary for 'S26'}}
unsignedchara:1;
unsignedcharb;//expected-warning {{padding struct 'S26' with 7 bits to align 'b'}}
}__attribute__((packed));
structS27{// expected-warning {{padding size of 'S27' with 7 bits to alignment boundary}}