Home | History | Annotate | Line # | Download | only in lint1
msg_100.c revision 1.5
      1 /*	$NetBSD: msg_100.c,v 1.5 2022/06/15 20:18:31 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(x)
     10 	int x;
     11 {
     12 	/* expect+1: warning: unary + is illegal in traditional C [100] */
     13 	return +x;
     14 }
     15