lex_char_uchar.c revision 1.1
11.1Srillig/*	$NetBSD: lex_char_uchar.c,v 1.1 2021/06/29 13:58:13 rillig Exp $	*/
21.1Srillig# 3 "lex_char_uchar.c"
31.1Srillig
41.1Srillig/*
51.1Srillig * Test lexical analysis of character constants on platforms where plain
61.1Srillig * char has the same representation as unsigned char.
71.1Srillig */
81.1Srillig
91.1Srillig/* lint1-only-if uchar */
101.1Srillig
111.1Srillig/*
121.1Srillig * FIXME: The warning is bogus; it must be possible to initialize a char
131.1Srillig *  variable with a character constant.
141.1Srillig */
151.1Srillig/* expect+1: conversion of 'int' to 'char' is out of range [119] */
161.1Srilligchar ch = '\xff';
17