aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear/bitfield-inc.c
blob: ed8efe7d734bf616c07f6e3d6c2e10e173ff8320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
struct s {
	int f:5;
};

void inc(struct s *p)
{
	p->f++;
}

/*
 * check-name: bitfield-inc
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-excludes: add\\.5
 */