xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_088.c (revision 3117ece4fc4a4ca4489ba793710b60b0d26bab6c)
1 /*	$NetBSD: msg_088.c,v 1.7 2024/10/14 18:43:24 rillig Exp $	*/
2 # 3 "msg_088.c"
3 
4 // Test for message: typedef '%s' hides external declaration with type '%s' [88]
5 
6 /* lint1-flags: -g -h -S -w -X 351 */
7 
8 extern int identifier;
9 
10 void
11 func(void)
12 {
13 	/* expect+1: warning: typedef 'identifier' hides external declaration with type 'int' [88] */
14 	typedef double identifier;
15 }
16