Home | History | Annotate | Line # | Download | only in lint1
msg_101.c revision 1.3
      1 /*	$NetBSD: msg_101.c,v 1.3 2021/01/31 11:12:07 rillig Exp $	*/
      2 # 3 "msg_101.c"
      3 
      4 // Test for message: undefined struct/union member: %s [101]
      5 
      6 struct point {
      7 	int x, y;
      8 };
      9 
     10 int
     11 get_z(const struct point *p)
     12 {
     13 	return p.z;		/* expect: 101 */
     14 }
     15