Home | History | Annotate | Line # | Download | only in lint2
      1 # $NetBSD: msg_010.ln,v 1.4 2025/02/20 19:04:00 rillig Exp $
      2 #
      3 # Test data for message 10 of lint2:
      4 #	%s has its return value used in %s but doesn't return one
      5 #
      6 
      7 0 s msg_010.c
      8 S msg_010.c
      9 1 s msg_010_use.c
     10 
     11 # msg_010.c:10: func() {}
     12 10 d 0.10 d o 4func f0I
     13 
     14 # msg_010_use.c:20: func();
     15 20 d 1.20 e 4func F I
     16 # msg_010_use.c:30: use() { return func(); }
     17 30 c 1.30 u 4func f0 I
     18