aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear/cast-volatile.c
blob: 6d12c015073149d1e20783f5b0fa8d6af60a912c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
static int foo(volatile int *a, int v)
{
	*a = v;
	return *a;
}

/*
 * check-name: cast-volatile
 * check-command: test-linearize -fdump-ir=linearize $file
 *
 * check-output-ignore
 * check-output-excludes: sext\\.
 * check-output-excludes: zext\\.
 * check-output-excludes: trunc\\.
 */