aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/backend/label-as-value.c
blob: 6888c66130e1d95c25a3aeee047aff9ca574a707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
void *foo(void *def);
void *foo(void *def)
{
	if (!def)
yes:		return &&yes;

	return def;
}

/*
 * check-name: label-as-value
 * check-command: ./sparsec -c $file -o tmp.o
 */