aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear/join-cond-discard.c
blob: 9f07a7d499f66336dbae7cd349daa42e657146af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
void abort(void) __attribute__((noreturn));

int bar(int a)
{
	return a ? (abort(), 0) : 0;
}

int qux(int a)
{
	return a ? (abort(), 0) : (abort(), 1);
}

/*
 * check-name: join-cond-discard
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-excludes: phisrc\\..*phi
 */