Home | History | Annotate | Line # | Download | only in lint2
      1 # $NetBSD: output_sorted.ln,v 1.2 2022/01/15 17:33:42 rillig Exp $
      2 #
      3 # Test whether the output is sorted by symbol name.
      4 # Before main2.c 1.21 from 2021-08-28, the output was sorted by hashcode,
      5 # which looked random.  Since then, the output is sorted by symbol name.
      6 
      7 0 s output_sorted.c
      8 S output_sorted.c
      9 
     10 10 c 0.10 d	12no_prototype		f2 I PcC V
     11 11 c 0.11 d	12no_prototype		f2 PcC D V
     12 
     13 # Function calls with different names and incompatible argument types.
     14 # The function names are sorted by their Gray code.
     15 10 c 0.10 d	8func0000		f2 I PcC V
     16 11 c 0.11 d	8func0000		f2 PcC D V
     17 10 c 0.10 d	8func1000		f2 I PcC V
     18 11 c 0.11 d	8func1000		f2 PcC D V
     19 10 c 0.10 d	8func3000		f2 I PcC V
     20 11 c 0.11 d	8func3000		f2 PcC D V
     21 10 c 0.10 d	8func2000		f2 I PcC V
     22 11 c 0.11 d	8func2000		f2 PcC D V
     23 10 c 0.10 d	8func6000		f2 I PcC V
     24 11 c 0.11 d	8func6000		f2 PcC D V
     25 10 c 0.10 d	8func7000		f2 I PcC V
     26 11 c 0.11 d	8func7000		f2 PcC D V
     27 10 c 0.10 d	8func5000		f2 I PcC V
     28 11 c 0.11 d	8func5000		f2 PcC D V
     29 10 c 0.10 d	8func4000		f2 I PcC V
     30 11 c 0.11 d	8func4000		f2 PcC D V
     31