aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/volatile-side-effect.c
blob: 842b7228276f1773292dccffb0ed4e48175af97e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
void foo(int p, volatile int *ptr)
{
	p ? : *ptr;
	p ? : *ptr;
}

/*
 * check-name: volatile-side-effect
 * check-command: test-linearize -Wno-decl $file
 * check-output-ignore
 *
 * check-output-pattern(2): load
 */