Home | History | Annotate | Line # | Download | only in lint1
msg_074.c revision 1.5
      1 /*	$NetBSD: msg_074.c,v 1.5 2022/06/15 20:18:31 rillig Exp $	*/
      2 # 3 "msg_074.c"
      3 
      4 // Test for message: no hex digits follow \x [74]
      5 
      6 /* expect+1: error: no hex digits follow \x [74] */
      7 char invalid_hex = '\x';
      8 
      9 /* expect+2: error: no hex digits follow \x [74] */
     10 /* expect+1: warning: multi-character character constant [294] */
     11 char invalid_hex_letter = '\xg';
     12 
     13 char valid_hex = '\xff';
     14 char valid_single_digit_hex = '\xa';
     15