aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/goto-reserved.c
blob: fbaf03e1423a687be16c1115ac9092687fbbf972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
static void foo(void)
{
	goto return;
}

/*
 * check-name: goto-reserved
 *
 * check-error-start
goto-reserved.c:3:14: error: Trying to use reserved word 'return' as identifier
 * check-error-end
 */