tinycc/tests/tests2
Petr Skocik d6d3cf00ec patch type_to_str to handle complex function-ptr decls better
Code like:

    #include <signal.h>
    int main() { _Generic(signal, int: 0); }

should fail with
    error: type 'extern void (*(int, void (*)(int)))(int)' does not match any association
not
    error: type 'extern void *(int)(int, void *(int))' does not match any association

[matz: fix formatting, fix function-to-pointer decay for operands of
_Generic, add testcase for this]
2018-04-01 00:38:11 +02:00
..
00_assignment.c
00_assignment.expect
01_comment.c
01_comment.expect
02_printf.c
02_printf.expect
03_struct.c
03_struct.expect
04_for.c
04_for.expect
05_array.c
05_array.expect
06_case.c
06_case.expect
07_function.c
07_function.expect
08_while.c
08_while.expect
09_do_while.c
09_do_while.expect
10_pointer.c
10_pointer.expect
11_precedence.c
11_precedence.expect
12_hashdefine.c
12_hashdefine.expect
13_integer_literals.c
13_integer_literals.expect
14_if.c
14_if.expect
15_recursion.c
15_recursion.expect
16_nesting.c
16_nesting.expect
17_enum.c
17_enum.expect
18_include.c
18_include.expect
18_include.h
19_pointer_arithmetic.c
19_pointer_arithmetic.expect
20_pointer_comparison.c
20_pointer_comparison.expect
21_char_array.c
21_char_array.expect
22_floating_point.c
22_floating_point.expect
23_type_coercion.c
23_type_coercion.expect
24_math_library.c
24_math_library.expect
25_quicksort.c
25_quicksort.expect
26_character_constants.c
26_character_constants.expect
27_sizeof.c
27_sizeof.expect
28_strings.c
28_strings.expect
29_array_address.c
29_array_address.expect
30_hanoi.c
30_hanoi.expect
31_args.c
31_args.expect
32_led.c
32_led.expect
33_ternary_op.c
33_ternary_op.expect
34_array_assignment.c
34_array_assignment.expect
35_sizeof.c
35_sizeof.expect
36_array_initialisers.c
36_array_initialisers.expect
37_sprintf.c
37_sprintf.expect
38_multiple_array_index.c
38_multiple_array_index.expect
39_typedef.c
39_typedef.expect
40_stdio.c
40_stdio.expect
41_hashif.c
41_hashif.expect
42_function_pointer.c
42_function_pointer.expect
43_void_param.c
43_void_param.expect
44_scoped_declarations.c
44_scoped_declarations.expect
45_empty_for.c
45_empty_for.expect
46_grep.c
46_grep.expect
47_switch_return.c
47_switch_return.expect
48_nested_break.c
48_nested_break.expect
49_bracket_evaluation.c
49_bracket_evaluation.expect
50_logical_second_arg.c
50_logical_second_arg.expect
51_static.c
51_static.expect
52_unnamed_enum.c
52_unnamed_enum.expect
54_goto.c
54_goto.expect
55_lshift_type.c
55_lshift_type.expect
60_errors_and_warnings.c
60_errors_and_warnings.expect
64_macro_nesting.c
64_macro_nesting.expect
67_macro_concat.c
67_macro_concat.expect
70_floating_point_literals.c
70_floating_point_literals.expect
71_macro_empty_arg.c
71_macro_empty_arg.expect
72_long_long_constant.c
72_long_long_constant.expect
73_arm64.c
73_arm64.expect
75_array_in_struct_init.c
75_array_in_struct_init.expect
76_dollars_in_identifiers.c
76_dollars_in_identifiers.expect
77_push_pop_macro.c
77_push_pop_macro.expect
78_vla_label.c
78_vla_label.expect
79_vla_continue.c
79_vla_continue.expect
80_flexarray.c
80_flexarray.expect
81_types.c
81_types.expect
82_attribs_position.c
82_attribs_position.expect
83_utf8_in_identifiers.c
83_utf8_in_identifiers.expect
84_hex-float.c
84_hex-float.expect
85_asm-outside-function.c
85_asm-outside-function.expect
86_memory-model.c
86_memory-model.expect
87_dead_code.c
87_dead_code.expect
88_codeopt.c
88_codeopt.expect
89_nocode_wanted.c
89_nocode_wanted.expect
90_struct-init.c
90_struct-init.expect
91_ptr_longlong_arith32.c
91_ptr_longlong_arith32.expect
92_enum_bitfield.c
92_enum_bitfield.expect
93_integer_promotion.c
93_integer_promotion.expect
94_generic.c patch type_to_str to handle complex function-ptr decls better 2018-04-01 00:38:11 +02:00
94_generic.expect patch type_to_str to handle complex function-ptr decls better 2018-04-01 00:38:11 +02:00
95_bitfields_ms.c
95_bitfields_ms.expect
95_bitfields.c
95_bitfields.expect
96_nodata_wanted.c
96_nodata_wanted.expect
97_utf8_string_literal.c
97_utf8_string_literal.expect
98_al_ax_extend.c
98_al_ax_extend.expect
99_fastcall.c
99_fastcall.expect
LICENSE
Makefile