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: lex_char.c,v 1.4 2022/04/24 09:04:12 rillig Exp $ */

/*
 * Test lexing of character constants.
 */

//indent input
int simple = 'x';
int multi = 'xy';
int empty = '';
int null = '\0';
int escape_hex = '\x3f';
int escape_octal = '\040';
int escape_a = '\a';
int escape_b = '\b';
int escape_f = '\f';
int escape_n = '\n';
int escape_t = '\t';
int escape_v = '\v';
int escape_single_quote = '\'';
int escape_double_quote = '\"';
int escape_backslash = '\\';
int line_break_before = '\
x';
int line_break_after = 'x\
';
//indent end

//indent run-equals-input -di0