summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_088.c
blob: f90a637340dcb6c7efde9c86618b1d6714876d65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*	$NetBSD: msg_088.c,v 1.6 2023/03/28 14:44:34 rillig Exp $	*/
# 3 "msg_088.c"

// Test for message: typedef '%s' hides external declaration [88]

/* lint1-flags: -g -h -S -w -X 351 */

extern int identifier;

void
func(void)
{
	/* expect+1: warning: typedef 'identifier' hides external declaration [88] */
	typedef double identifier;
}