aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/eval/unqual-stmt-expr.c
blob: bac6cb6b197fc2dc623f4280b90ae88f6f2ad3a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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
 * check-known-to-fail
 */