unwind: ignore component_match_add_release() paths
[smatch.git] / validation / linear / bitfield-init-mask.c
blobaac21e614022d4356ed1c99bfc70f4a56cbd774f
1 struct bfu {
2 unsigned int a:11;
3 unsigned int f:9;
4 unsigned int z:3;
5 };
7 struct bfu bfu_init_00_11(int a)
9 struct bfu bfu = { .a = a, };
10 return bfu;
13 struct bfu bfu_init_20_23(int a)
15 struct bfu bfu = { .z = a, };
16 return bfu;
20 * check-name: bitfield initializer mask
21 * check-command: test-linearize -fdump-ir=linearize -Wno-decl $file
22 * check-output-ignore
24 * check-output-contains: and\\..*fffff800\$
25 * check-output-contains: shl\\..* \\$20
26 * check-output-contains: and\\..*ff8fffff\$