blob: dc625131e1887a67e1ff962984c778ef4b530a05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
struct s {
char :2;
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\\.
*/
|