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_258.c,v 1.5 2023/03/28 14:44:35 rillig Exp $	*/
# 3 "msg_258.c"

// Test for message: unterminated string constant [258]

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

int dummy;

// A string literal that is not finished at the end of the line confuses the
// parser.
//
// "This string doesn't end in this line.

/* expect+4: error: unterminated string constant [258] */
/* expect+3: error: syntax error '' [249] */
/* expect+2: error: empty array declaration for 'str' [190] */
const char str[] = "This is the end.