Home | History | Annotate | Line # | Download | only in lint1
msg_100.c revision 1.4
      1 /*	$NetBSD: msg_100.c,v 1.4 2022/04/16 13:25:27 rillig Exp $	*/
      2 # 3 "msg_100.c"
      3 
      4 /* Test for message: unary + is illegal in traditional C [100] */
      5 
      6 /* lint1-flags: -tw */
      7 
      8 int
      9 unary_plus(int x)
     10 {				/* expect: 270 */
     11 	return +x;		/* expect: 100 */
     12 }
     13