Home | History | Annotate | Line # | Download | only in lint1
msg_254.c revision 1.3
      1 /*	$NetBSD: msg_254.c,v 1.3 2021/06/29 07:17:43 rillig Exp $	*/
      2 # 3 "msg_254.c"
      3 
      4 /* Test for message: newline in string or char constant [254] */
      5 
      6 /* lint1-flags: -tw */
      7 
      8 /*
      9  * The sequence backslash-newline is a GCC extension.
     10  * C99 does not allow it.
     11  */
     12 
     13 /* expect+6: newline in string or char constant [254] */
     14 /* expect+5: unterminated string constant [258] */
     15 /* expect+4: syntax error '"' [249] */
     16 /* expect+4: newline in string or char constant [254] */
     17 /* expect+3: unterminated string constant [258] */
     18 "line1
     19 line2"
     20