blob: f946715bffa3bbfb26ca019e67a8aac4bf52cd2e [file] [log] [blame]
struct s {
unsigned char :2;
unsigned char f:3;
};
int foo(struct s s, int a)
{
s.f = a;
return s.f;
}
/*
* check-name: bitfield-store-load signed
* check-command: test-linearize -Wno-decl $file
*
* check-output-ignore
* check-output-excludes: shl\\.
* check-output-excludes: lsr\\.
* check-output-excludes: or\\.
* check-output-excludes: [sz]ext\\.
* check-output-excludes: trunc\\.
* check-output-pattern(1): and\\.
*/