aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/crash-select.c
blob: cec00baf8860c253ddd5ff93d1d21f818302b7e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
struct s {
	void *b;
	long c;
};

long d(void);
static long f(void)
{
	struct s s;
	s.c = d();
	if (s.c)
		s.c = 2;
	return s.c;
}

/*
 * check-name: crash-select
 */