2017-07-20 23:21:27 +03:00
|
|
|
[test_56_btype_excess_1]
|
|
|
|
60_errors_and_warnings.c:2: error: too many basic types
|
|
|
|
|
|
|
|
[test_57_btype_excess_2]
|
|
|
|
60_errors_and_warnings.c:5: error: too many basic types
|
|
|
|
|
|
|
|
[test_58_function_redefinition]
|
|
|
|
60_errors_and_warnings.c:9: error: redefinition of 'f'
|
|
|
|
|
|
|
|
[test_global_redefinition]
|
|
|
|
60_errors_and_warnings.c:14: error: redefinition of 'xxx'
|
|
|
|
|
|
|
|
[test_59_function_array]
|
|
|
|
60_errors_and_warnings.c:17: error: declaration of an array of functions
|
|
|
|
|
|
|
|
[test_60_enum_redefinition]
|
|
|
|
60_errors_and_warnings.c:21: error: struct/union/enum already defined
|
|
|
|
|
|
|
|
[test_62_enumerator_redefinition]
|
|
|
|
60_errors_and_warnings.c:26: error: redefinition of enumerator 'RED'
|
|
|
|
|
|
|
|
[test_63_local_enumerator_redefinition]
|
2020-01-18 00:58:39 +03:00
|
|
|
[returns 1]
|
2017-07-20 23:21:27 +03:00
|
|
|
|
|
|
|
[test_61_undefined_enum]
|
|
|
|
60_errors_and_warnings.c:46: error: unknown type size
|
|
|
|
|
|
|
|
[test_74_non_const_init]
|
|
|
|
60_errors_and_warnings.c:49: error: initializer element is not constant
|
2018-06-01 00:52:07 +03:00
|
|
|
|
|
|
|
[test_pointer_assignment]
|
|
|
|
60_errors_and_warnings.c:79: warning: assignment from incompatible pointer type
|
|
|
|
60_errors_and_warnings.c:82: warning: assignment from incompatible pointer type
|
|
|
|
60_errors_and_warnings.c:86: warning: assignment from incompatible pointer type
|
|
|
|
60_errors_and_warnings.c:88: warning: assignment from incompatible pointer type
|
|
|
|
60_errors_and_warnings.c:91: warning: assignment from incompatible pointer type
|
|
|
|
60_errors_and_warnings.c:92: warning: assignment from incompatible pointer type
|
|
|
|
60_errors_and_warnings.c:94: warning: assignment from incompatible pointer type
|
|
|
|
60_errors_and_warnings.c:95: warning: assignment from incompatible pointer type
|
|
|
|
60_errors_and_warnings.c:98: warning: assignment discards qualifiers from pointer target type
|
|
|
|
60_errors_and_warnings.c:99: warning: assignment discards qualifiers from pointer target type
|
|
|
|
60_errors_and_warnings.c:103: warning: assignment discards qualifiers from pointer target type
|
|
|
|
60_errors_and_warnings.c:104: warning: assignment discards qualifiers from pointer target type
|
|
|
|
60_errors_and_warnings.c:109: warning: assignment of read-only location
|
|
|
|
|
|
|
|
[test_enum_compat]
|
|
|
|
60_errors_and_warnings.c:119: error: incompatible types for redefinition of 'f3'
|
2018-11-12 19:11:24 +03:00
|
|
|
|
|
|
|
[test_ptr_to_str]
|
|
|
|
60_errors_and_warnings.c:122: error: type 'const int **' does not match any association
|
|
|
|
|
|
|
|
[test_fnptr_to_str]
|
|
|
|
60_errors_and_warnings.c:124: error: type 'int (*(*)(float, char))(double, int)' does not match any association
|
|
|
|
|
|
|
|
[test_array_to_str]
|
|
|
|
60_errors_and_warnings.c:126: error: type 'int (*)[3]' does not match any association
|
2019-03-08 19:58:25 +03:00
|
|
|
|
|
|
|
[test_duplicate_def_1]
|
|
|
|
60_errors_and_warnings.c:128: error: redefinition of 'L'
|
|
|
|
|
|
|
|
[test_duplicate_def_2]
|
|
|
|
60_errors_and_warnings.c:131: error: redeclaration of 'L'
|
2019-03-12 19:27:15 +03:00
|
|
|
|
|
|
|
[test_abstract_decls]
|
|
|
|
60_errors_and_warnings.c:141: error: identifier expected
|
2019-03-18 05:26:19 +03:00
|
|
|
|
|
|
|
[test_invalid_1]
|
|
|
|
60_errors_and_warnings.c:146: error: identifier expected
|
|
|
|
|
|
|
|
[test_invalid_2]
|
|
|
|
60_errors_and_warnings.c:149: error: ';' expected (got "{")
|
|
|
|
|
|
|
|
[test_invalid_3]
|
|
|
|
60_errors_and_warnings.c:153: error: ',' expected (got "a")
|
2019-03-18 07:53:03 +03:00
|
|
|
|
2020-01-16 01:32:40 +03:00
|
|
|
[test_invalid_4]
|
|
|
|
60_errors_and_warnings.c:157: error: division by zero in constant
|
|
|
|
|
2019-03-18 07:53:03 +03:00
|
|
|
[test_conflicting_types]
|
2020-01-16 01:32:40 +03:00
|
|
|
60_errors_and_warnings.c:163: error: incompatible types for redefinition of 'i'
|
2019-04-07 04:15:05 +03:00
|
|
|
|
|
|
|
[test_nested_types]
|
2020-01-16 01:32:40 +03:00
|
|
|
60_errors_and_warnings.c:170: error: struct/union/enum already defined
|
2019-04-07 05:09:25 +03:00
|
|
|
|
|
|
|
[test_vla_1]
|
2020-01-16 01:32:40 +03:00
|
|
|
60_errors_and_warnings.c:177: error: need explicit inner array size in VLAs
|
2019-04-08 21:58:49 +03:00
|
|
|
|
|
|
|
[test_invalid_alignas]
|
2020-01-16 01:32:40 +03:00
|
|
|
60_errors_and_warnings.c:181: error: identifier expected
|
2019-04-28 09:27:33 +03:00
|
|
|
|
|
|
|
[test_static_assert]
|
2020-02-29 03:24:35 +03:00
|
|
|
60_errors_and_warnings.c:187: error: ONE is not 1
|
|
|
|
|
|
|
|
[test_static_assert_2]
|
|
|
|
60_errors_and_warnings.c:191: error: 0 is 0
|
2019-06-24 11:28:36 +03:00
|
|
|
|
2020-02-29 03:55:11 +03:00
|
|
|
[test_static_assert_c2x]
|
|
|
|
60_errors_and_warnings.c:195: error: _Static_assert fail
|
|
|
|
|
2019-06-24 11:28:36 +03:00
|
|
|
[test_void_array]
|
2020-02-29 03:55:11 +03:00
|
|
|
60_errors_and_warnings.c:198: error: declaration of an array of incomplete type elements
|
2019-06-24 11:28:36 +03:00
|
|
|
|
|
|
|
[test_incomplete_enum_array]
|
2020-02-29 03:55:11 +03:00
|
|
|
60_errors_and_warnings.c:201: error: declaration of an array of incomplete type elements
|
2019-06-24 11:28:36 +03:00
|
|
|
|
|
|
|
[test_incomplete_struct_array]
|
2020-02-29 03:55:11 +03:00
|
|
|
60_errors_and_warnings.c:204: error: declaration of an array of incomplete type elements
|
2019-06-24 11:28:36 +03:00
|
|
|
|
|
|
|
[test_const_fun_array]
|
2020-02-29 03:55:11 +03:00
|
|
|
60_errors_and_warnings.c:208: error: declaration of an array of functions
|
2019-06-24 11:28:36 +03:00
|
|
|
|
|
|
|
[test_incomplete_array_array]
|
2019-06-22 05:00:52 +03:00
|
|
|
|
|
|
|
[test_extern_array]
|
2020-02-29 03:55:11 +03:00
|
|
|
60_errors_and_warnings.c:224: error: incompatible types for redefinition of 'x'
|
2019-06-22 05:00:52 +03:00
|
|
|
|
|
|
|
[test_func_1]
|
|
|
|
hello: a = 123
|
|
|
|
|
|
|
|
[test_func_2]
|
|
|
|
hello: a = 123
|
|
|
|
|
|
|
|
[test_func_3]
|
2020-02-29 03:55:11 +03:00
|
|
|
60_errors_and_warnings.c:254: warning: static storage ignored for redefinition of 'hello'
|
2019-06-22 05:00:52 +03:00
|
|
|
hello: a = 123
|
|
|
|
|
|
|
|
[test_func_4]
|
|
|
|
hello: a = 123
|
|
|
|
|
|
|
|
[test_func_5]
|
2020-02-29 03:55:11 +03:00
|
|
|
60_errors_and_warnings.c:254: error: incompatible types for redefinition of 'hello'
|
2019-12-16 08:54:18 +03:00
|
|
|
|
|
|
|
[test_func_6]
|
2020-02-29 03:55:11 +03:00
|
|
|
60_errors_and_warnings.c:242: error: function without file scope cannot be static
|
2019-06-22 05:00:52 +03:00
|
|
|
|
|
|
|
[test_var_1]
|
|
|
|
main : 1 ; 1
|
|
|
|
main : 2 ; 2
|
|
|
|
bar : 3 ; 3
|
|
|
|
|
|
|
|
[test_var_2]
|
|
|
|
main : 1 ; 1
|
|
|
|
main : 2 ; 2
|
|
|
|
bar : 3 ; 3
|
|
|
|
|
|
|
|
[test_var_3]
|
2020-02-29 03:55:11 +03:00
|
|
|
60_errors_and_warnings.c:286: error: incompatible types for redefinition of 'xxx'
|
2019-07-16 18:30:04 +03:00
|
|
|
|
|
|
|
[test_var_4]
|
2020-02-23 02:11:03 +03:00
|
|
|
|
|
|
|
[test_long_double_type_for_win32]
|
|
|
|
60_errors_and_warnings.c:317: warning: assignment from incompatible pointer type
|