aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/eval/undecl-no-indent.c
blob: 4aadf3d99235c9f99e04d7d072fd382ad1a4808d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
inline void fun(void)
{
	undecl();
}

void foo(void);
void foo(void)
{
	fun();
	fun();
}

/*
 * check-name: undecl-no-indent
 *
 * check-error-start
eval/undecl-no-indent.c:3:9: error: undefined identifier 'undecl'
 * check-error-end
 */