aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear/cast-volatile.c
blob: f8a64937200a5ca2ea8882849038507d93cc8ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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-known-to-fail
 * check-output-ignore
 * check-output-excludes: scast\\.
 */