msg_001.ln revision 1.7
11.7Srillig# $NetBSD: msg_001.ln,v 1.7 2025/02/20 19:04:00 rillig Exp $ 21.1Srillig# 31.1Srillig# Test data for message 1 of lint2: 41.7Srillig# %s is defined in %s but never used 51.1Srillig# 61.2Srillig 71.4Srillig0 s msg_001.c 81.4SrilligS msg_001.c 91.2Srillig 101.4Srillig3 c 0.3 p1 i 16used_not_defined f2 I D I 111.4Srillig2 d 0.2 d o 16defined_not_used f0 I 121.3Srillig 131.3Srillig# The function 'main' always counts as used. 141.3Srillig# int main(void) {} 151.4Srillig10 d 0.10 d 4main F0 I 161.3Srillig# extern main() {} 171.4Srillig12 d 0.12 e 4main F I 181.3Srillig 191.5Srillig# If a function is declared once in old-style and once with prototype, 201.6Srillig# the prototype definition is preferred; see check_name. 211.3Srillig# 221.3Srillig# extern merge_old_style_and_prototype(); 231.4Srillig20 d 0.20 e 29merge_old_style_and_prototype F I 241.3Srillig# extern int merge_old_style_and_prototype(char *); 251.4Srillig21 d 0.21 e 29merge_old_style_and_prototype F1 PCI 26