Home | History | Annotate | Line # | Download | only in lint2
      1 # $NetBSD: msg_006.ln,v 1.4 2025/02/20 19:04:00 rillig Exp $
      2 #
      3 # Test data for message 6 of lint2:
      4 #	%s has argument %d with type '%s' at %s, versus '%s' at %s
      5 
      6 # msg_006_define.c:2: double add(double a, double b) { return a + b; }
      7 0 s msg_006_define.c
      8 S msg_006_define.c
      9 2 d 0.2 d r 3add F2 D D D
     10 
     11 # msg_006_call.c:2: int add(int, int);
     12 # msg_006_call.c:4: int main(void) { return add(2, 3); }
     13 0 s msg_006_call.c
     14 S msg_006_call.c
     15 2 d 0.2 e 3add F2 I I I
     16 4 c 0.4 p1 p2 u 3add f2 I I I
     17 4 d 0.4 d r 4main F0 I
     18