work on local extern declarations
[tinycc.git] / tests / tests2 / 60_errors_and_warnings.expect
blobf252355d16c3dcc3542770cf01df3cd19eb61a29
1 [test_56_btype_excess_1]
2 60_errors_and_warnings.c:2: error: too many basic types
4 [test_57_btype_excess_2]
5 60_errors_and_warnings.c:5: error: too many basic types
7 [test_58_function_redefinition]
8 60_errors_and_warnings.c:9: error: redefinition of 'f'
10 [test_global_redefinition]
11 60_errors_and_warnings.c:14: error: redefinition of 'xxx'
13 [test_59_function_array]
14 60_errors_and_warnings.c:17: error: declaration of an array of functions
16 [test_60_enum_redefinition]
17 60_errors_and_warnings.c:21: error: struct/union/enum already defined
19 [test_62_enumerator_redefinition]
20 60_errors_and_warnings.c:26: error: redefinition of enumerator 'RED'
22 [test_63_local_enumerator_redefinition]
24 [test_61_undefined_enum]
25 60_errors_and_warnings.c:46: error: unknown type size
27 [test_74_non_const_init]
28 60_errors_and_warnings.c:49: error: initializer element is not constant
30 [test_pointer_assignment]
31 60_errors_and_warnings.c:79: warning: assignment from incompatible pointer type
32 60_errors_and_warnings.c:82: warning: assignment from incompatible pointer type
33 60_errors_and_warnings.c:86: warning: assignment from incompatible pointer type
34 60_errors_and_warnings.c:88: warning: assignment from incompatible pointer type
35 60_errors_and_warnings.c:91: warning: assignment from incompatible pointer type
36 60_errors_and_warnings.c:92: warning: assignment from incompatible pointer type
37 60_errors_and_warnings.c:94: warning: assignment from incompatible pointer type
38 60_errors_and_warnings.c:95: warning: assignment from incompatible pointer type
39 60_errors_and_warnings.c:98: warning: assignment discards qualifiers from pointer target type
40 60_errors_and_warnings.c:99: warning: assignment discards qualifiers from pointer target type
41 60_errors_and_warnings.c:103: warning: assignment discards qualifiers from pointer target type
42 60_errors_and_warnings.c:104: warning: assignment discards qualifiers from pointer target type
43 60_errors_and_warnings.c:109: warning: assignment of read-only location
45 [test_enum_compat]
46 60_errors_and_warnings.c:119: error: incompatible types for redefinition of 'f3'
48 [test_ptr_to_str]
49 60_errors_and_warnings.c:122: error: type 'const int **' does not match any association
51 [test_fnptr_to_str]
52 60_errors_and_warnings.c:124: error: type 'int (*(*)(float, char))(double, int)' does not match any association
54 [test_array_to_str]
55 60_errors_and_warnings.c:126: error: type 'int (*)[3]' does not match any association
57 [test_duplicate_def_1]
58 60_errors_and_warnings.c:128: error: redefinition of 'L'
60 [test_duplicate_def_2]
61 60_errors_and_warnings.c:131: error: redeclaration of 'L'
63 [test_abstract_decls]
64 60_errors_and_warnings.c:141: error: identifier expected
66 [test_invalid_1]
67 60_errors_and_warnings.c:146: error: identifier expected
69 [test_invalid_2]
70 60_errors_and_warnings.c:149: error: ';' expected (got "{")
72 [test_invalid_3]
73 60_errors_and_warnings.c:153: error: ',' expected (got "a")
75 [test_conflicting_types]
76 60_errors_and_warnings.c:159: error: incompatible types for redefinition of 'i'
78 [test_nested_types]
79 60_errors_and_warnings.c:166: error: struct/union/enum already defined
81 [test_vla_1]
82 60_errors_and_warnings.c:173: error: need explicit inner array size in VLAs
84 [test_invalid_alignas]
85 60_errors_and_warnings.c:177: error: identifier expected
87 [test_static_assert]
88 60_errors_and_warnings.c:183: error: "ONE is not 1"
90 [test_void_array]
91 60_errors_and_warnings.c:186: error: declaration of an array of incomplete type elements
93 [test_incomplete_enum_array]
94 60_errors_and_warnings.c:189: error: declaration of an array of incomplete type elements
96 [test_incomplete_struct_array]
97 60_errors_and_warnings.c:192: error: declaration of an array of incomplete type elements
99 [test_const_fun_array]
100 60_errors_and_warnings.c:196: error: declaration of an array of functions
102 [test_incomplete_array_array]
104 [test_extern_array]
105 60_errors_and_warnings.c:212: error: incompatible types for redefinition of 'x'
107 [test_func_1]
108 hello: a = 123
110 [test_func_2]
111 hello: a = 123
113 [test_func_3]
114 60_errors_and_warnings.c:241: warning: static storage ignored for redefinition of 'hello'
115 hello: a = 123
117 [test_func_4]
118 hello: a = 123
120 [test_func_5]
121 60_errors_and_warnings.c:241: error: incompatible types for redefinition of 'hello'
123 [test_var_1]
124 main : 1 ; 1
125 main : 2 ; 2
126 bar  : 3 ; 3
128 [test_var_2]
129 main : 1 ; 1
130 main : 2 ; 2
131 bar  : 3 ; 3
133 [test_var_3]
134 60_errors_and_warnings.c:273: error: incompatible types for redefinition of 'xxx'