aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/eval/unqual-stmt-expr.c
blob: 280c2fe8e36e84f428b82a88a833b6844c0eea96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#define __unqual_typeof(x) typeof(({ x; }))

int *foo(volatile int x);
int *foo(volatile int x)
{
	extern __unqual_typeof(x) y;
	return &y;
}

/*
 * check-name: unqual-stmt-expr
 */