xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_317.c (revision e6298b924c5ba98f3a22919b56dab04a87cdbb1c)
1 /*	$NetBSD: msg_317.c,v 1.5 2023/07/07 19:45:22 rillig Exp $	*/
2 # 3 "msg_317.c"
3 
4 /* Test for message: __func__ is a C99 feature [317] */
5 
6 /* lint1-flags: -sw -X 351 */
7 
8 const char *
function(void)9 function(void)
10 {
11 	/* expect+1: warning: __func__ is a C99 feature [317] */
12 	return __func__;
13 }
14