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

// Test for message: __FUNCTION__/__PRETTY_FUNCTION__ is a GCC extension [316]

/* lint1-flags: -Sw -X 351 */

void println(const char *);

void debug(void)
{
	/* expect+1: warning: __FUNCTION__/__PRETTY_FUNCTION__ is a GCC extension [316] */
	println(__FUNCTION__);
	/* expect+1: warning: __FUNCTION__/__PRETTY_FUNCTION__ is a GCC extension [316] */
	println(__PRETTY_FUNCTION__);
}
5d83710e'>curlwp needs sys/lwp.h.uebayasi 2010-10-21perform pathname lookup with NOCHROOT flagjmcneill 2010-06-24Clean up vnode lock operations pass 2:hannken 2008-04-28Remove clause 3 and 4 from TNF licensesmartin 2008-03-21Catch up with descriptor handling changes. See kern_descrip.c revisionad 2007-12-08Remove cn_lwp from struct componentname. curlwp should be usedpooka 2007-11-26Remove the "struct lwp *" argument from all VFS and VOP interfaces.pooka 2007-01-14Don't crash if firmware_open is called too early.is 2006-11-16__unused removal on arguments; approved by core.christos 2006-10-12- sprinkle __unused on function decls.christos 2006-09-30PR/34648: Nino Dehne: Kernel panic when using NFS root and configuring anelad 2006-05-14integrate kauth.elad 2006-04-17Add /usr/pkg/libdata to the list of FIRMWARE_PATHS in order to berpaulo 2006-01-17Add an API for loading firmware images for devices.thorpej