Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

/*	$NetBSD: msg_273.c,v 1.3 2021/08/22 13:45:56 rillig Exp $	*/
# 3 "msg_273.c"

/* Test for message: bit-field type '%s' invalid in ANSI C [273] */

/* lint1-flags: -sw */

struct bit_fields {
	int plain_int: 3;
	unsigned int unsigned_int: 3;
	signed int signed_int: 3;
	/* expect+1: warning: bit-field type 'unsigned char' invalid in ANSI C [273] */
	unsigned char unsigned_char: 3;
};