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