emit.ln revision 1.1 1 # $NetBSD: emit.ln,v 1.1 2021/08/24 21:30:52 rillig Exp $
2 #
3 # Test emitting a lint library file.
4
5 # Extracted from ../lint1/emit.exp-ln.
6 0s emit.c
7 S emit.c
8
9 # Global variables that are declared using 'extern' are not part of a
10 # library's interface, therefore they are omitted from the output.
11 101 d 0.101 e 12extern__Bool B
12
13 # Global variables that are defined, not only declared, are part of a
14 # library's interface.
15 106 d 0.106 t 11defined_int I
16
17 # Referring to an anonymous tagged type forces the source file to be listed as
18 # part of the library. If it weren't listed, the diagnostics from lint2 were
19 # not able to refer to the location where this type has been defined.
20 97 d 0.97 e 21extern_anonymous_enum eT395.0.0
21
22 # Function declarations, as opposed to function definitions, are not part of a
23 # library's interface, therefore they are omitted from the output.
24 121 d 0.121 e 30return_void_unknown_parameters F V
25 122 d 0.122 e 38return_implicit_int_unknown_parameters F I
26 125 d 0.125 e 32extern_return_void_no_parameters F 0 V
27
28 # Function calls are not part of a library's interface, therefore they are
29 # omitted from the output.
30 161 c 0.161 s2 "%" i 9my_printf f2 PcC PC V
31
32 # Function definitions are copied to the output.
33 159 d 0.159 d 14cover_outqchar F0 V
34
35 # Taken from ../lint1/expr_promote.exp-ln.
36 0s expr_promote.c
37 S expr_promote.c
38
39 10 d 0.10 e 4sink F2 PcC E V
40 58 c 0.58 i 4sink f20 PcC B I I I I I I uI L uL Q uQ D D lD sX X lX eT331.0.0 V
41 37 d 0.37 d 6caller F1 PsT116arithmetic_types V
42