aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/cast-bad-01.c
blob: 4a7a397ea46c8777bda97f3b1bee7e55c20fe930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
extern unsigned long l;

int foo(void) {
	return (int) (typeof(fundecl(0))) l;
}

/*
 * check-name: cast-bad 01
 *
 * check-error-start
cast-bad-01.c:4:30: error: undefined identifier 'fundecl'
 * check-error-end
 */