tccgen.c: fix warning for incompatible struct- and function pointers
[tinycc.git] / tests / tests2 / 60_errors_and_warnings.expect
blob5f2fa1c2558003de8afeb60083514a2fbd8c7153
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'