msg_011.ln revision 1.4
1# $NetBSD: msg_011.ln,v 1.4 2024/11/30 16:20:42 rillig Exp $ 2# 3# Test data for message 11 of lint2: 4# %s, arg %d declared inconsistently (%s != %s) %s :: %s 5 6# msg_011_define.c:2: double add(double a, double b) { return a + b; } 70 s msg_011_define.c 8S msg_011_define.c 92 d 0.2 d r 3add F2 D D D 10 11# msg_011_call.c:2: int add(int, int); 12# msg_011_call.c:4: int main(void) { return add(2, 3); } 130 s msg_011_call.c 14S msg_011_call.c 152 d 0.2 e 3add F2 I I I 164 c 0.4 p1 p2 u 3add f2 I I I 174 d 0.4 d r 4main F0 I 18 190smsg_011_call_func.c 20Smsg_011_call_func.c 2111d0.11d10func_paramF1PF1CVV 2212d0.12e10func_paramF1PFVV 2313d0.13e10func_paramF1PF0VV 2414d0.14e10func_paramF1PF1DVV 2515d0.15e10func_paramF1PF2DDVV 26