NameLast commit messageLast commit date
..
00_assignment.ctests2: move into tests13 years ago
00_assignment.expecttests2: move into tests13 years ago
01_comment.ctests2: move into tests13 years ago
01_comment.expecttests2: move into tests13 years ago
02_printf.ctests2: move into tests13 years ago
02_printf.expecttests2: move into tests13 years ago
03_struct.cmisc. fixes12 years ago
03_struct.expecttests2: move into tests13 years ago
04_for.ctests2: move into tests13 years ago
04_for.expecttests2: move into tests13 years ago
05_array.ctests2: move into tests13 years ago
05_array.expecttests2: move into tests13 years ago
06_case.ctests2: move into tests13 years ago
06_case.expecttests2: move into tests13 years ago
07_function.ctests2: move into tests13 years ago
07_function.expecttests2: move into tests13 years ago
08_while.ctests2: move into tests13 years ago
08_while.expecttests2: move into tests13 years ago
09_do_while.ctests2: move into tests13 years ago
09_do_while.expecttests2: move into tests13 years ago
10_pointer.ctests2: move into tests13 years ago
10_pointer.expecttests2: move into tests13 years ago
11_precedence.ctests2: move into tests13 years ago
11_precedence.expecttests2: move into tests13 years ago
12_hashdefine.ctests2: move into tests13 years ago
12_hashdefine.expecttests2: move into tests13 years ago
13_integer_literals.ctests2: move into tests13 years ago
13_integer_literals.expecttests2: move into tests13 years ago
14_if.ctests2: move into tests13 years ago
14_if.expecttests2: move into tests13 years ago
15_recursion.ctests2: move into tests13 years ago
15_recursion.expecttests2: move into tests13 years ago
16_nesting.ctests2: move into tests13 years ago
16_nesting.expecttests: cleanup13 years ago
17_enum.ctests2: move into tests13 years ago
17_enum.expecttests: cleanup13 years ago
18_include.ctests2: move into tests13 years ago
18_include.expecttests: cleanup13 years ago
18_include.htests: cleanup13 years ago
19_pointer_arithmetic.ctests2: move into tests13 years ago
19_pointer_arithmetic.expecttests2: move into tests13 years ago
20_pointer_comparison.ctests2: move into tests13 years ago
20_pointer_comparison.expecttests2: move into tests13 years ago
21_char_array.ctests2: move into tests13 years ago
21_char_array.expecttests2: move into tests13 years ago
22_floating_point.ctests2: move into tests13 years ago
22_floating_point.expecttests2: move into tests13 years ago
23_type_coercion.ctests2: move into tests13 years ago
23_type_coercion.expecttests2: move into tests13 years ago
24_math_library.cround() in test (24_math_library) fail because there are no defs included. gcc complain but work right and tcc simply fail to compile right.11 years ago
24_math_library.expecttests2: move into tests13 years ago
25_quicksort.ctests2: move into tests13 years ago
25_quicksort.expecttests2: move into tests13 years ago
26_character_constants.ctests2: move into tests13 years ago
26_character_constants.expecttests2: move into tests13 years ago
27_sizeof.ctests2: move into tests13 years ago
27_sizeof.expecttests2: move into tests13 years ago
28_strings.ctests2: move into tests13 years ago
28_strings.expecttests2: move into tests13 years ago
29_array_address.ctests2: move into tests13 years ago
29_array_address.expecttests2: move into tests13 years ago
30_hanoi.ctests2: fix 30_hanoi test and enable it.12 years ago
30_hanoi.expecttests2: move into tests13 years ago
31_args.ctests2: cleanup12 years ago
31_args.expecttests2: cleanup12 years ago
32_led.ctests2: move into tests13 years ago
32_led.expecttests2: move into tests13 years ago
33_ternary_op.ctests2: move into tests13 years ago
33_ternary_op.expecttests2: move into tests13 years ago
34_array_assignment.ctests2: move into tests13 years ago
34_array_assignment.expecttests2: move into tests13 years ago
35_sizeof.ctests2: move into tests13 years ago
35_sizeof.expecttests2: move into tests13 years ago
36_array_initialisers.ctests2: move into tests13 years ago
36_array_initialisers.expecttests2: move into tests13 years ago
37_sprintf.ctests2: move into tests13 years ago
37_sprintf.expecttests2: move into tests13 years ago
38_multiple_array_index.ctests2: move into tests13 years ago
38_multiple_array_index.expecttests2: move into tests13 years ago
39_typedef.ctests2: move into tests13 years ago
39_typedef.expecttests2: move into tests13 years ago
40_stdio.ctests2: move into tests13 years ago
40_stdio.expecttests2: move into tests13 years ago
41_hashif.ctests2: move into tests13 years ago
41_hashif.expecttests2: move into tests13 years ago
42_function_pointer.ctests2: move into tests13 years ago
42_function_pointer.expecttests2: move into tests13 years ago
43_void_param.ctests2: move into tests13 years ago
43_void_param.expecttests2: move into tests13 years ago
44_scoped_declarations.ctests: cleanup13 years ago
44_scoped_declarations.expecttests2: move into tests13 years ago
45_empty_for.ctests: cleanup13 years ago
45_empty_for.expecttests2: move into tests13 years ago
46_grep.cTurn on a implicit-function-declaration warning by default.11 years ago
46_grep.expecttests2: fix and enable 46_grep test.12 years ago
47_switch_return.ctests2: move into tests13 years ago
47_switch_return.expecttests2: move into tests13 years ago
48_nested_break.ctests2: move into tests13 years ago
48_nested_break.expecttests2: move into tests13 years ago
49_bracket_evaluation.ctests2: move into tests13 years ago
49_bracket_evaluation.expecttests2: move into tests13 years ago
50_logical_second_arg.ctests: cleanup13 years ago
50_logical_second_arg.expecttests2: move into tests13 years ago
51_static.ctests2: move into tests13 years ago
51_static.expecttests2: move into tests13 years ago
52_unnamed_enum.ctests2: move into tests13 years ago
52_unnamed_enum.expecttests2: move into tests13 years ago
54_goto.ctests: cleanup13 years ago
54_goto.expecttests2: move into tests13 years ago
55_lshift_type.ctests2: move into tests13 years ago
55_lshift_type.expecttests2: move into tests13 years ago
56_btype_excess-1.cAdd test for previous commit12 years ago
56_btype_excess-1.expectAdd test for previous commit12 years ago
57_btype_excess-2.cAdd test for previous commit12 years ago
57_btype_excess-2.expectAdd test for previous commit12 years ago
58_function_redefinition.cAdd tests for previous fixes12 years ago
58_function_redefinition.expectAdd tests for previous fixes12 years ago
59_function_array.cAdd tests for previous fixes12 years ago
59_function_array.expectAdd tests for previous fixes12 years ago
60_enum_redefinition.cAdd tests for previous fixes12 years ago
60_enum_redefinition.expectAdd tests for previous fixes12 years ago
61_undefined_enum.cAdd tests for previous fixes12 years ago
61_undefined_enum.expectAdd tests for previous fixes12 years ago
62_enumerator_redefinition.cAdd tests for previous fixes12 years ago
62_enumerator_redefinition.expectAdd tests for previous fixes12 years ago
63_local_enumerator_redefinition.cAllow local redefinition of enumerator12 years ago
63_local_enumerator_redefinition.expectAllow local redefinition of enumerator12 years ago
64_macro_nesting.cTurn on a implicit-function-declaration warning by default.11 years ago
64_macro_nesting.expectAdd new tests for macro nesting12 years ago
65_macro_concat_start.cPrevent ## to appear at start or end of macro12 years ago
65_macro_concat_start.expectPrevent ## to appear at start or end of macro12 years ago
66_macro_concat_end.cPrevent ## to appear at start or end of macro12 years ago
66_macro_concat_end.expectPrevent ## to appear at start or end of macro12 years ago
67_macro_concat.cFix preprocessor concat with empty arg12 years ago
67_macro_concat.expectFix preprocessor concat with empty arg12 years ago
68_macro_param_list_err_1.cRename: 68_macro_concat.c -> 68_macro_param_list_err_1.c 69_macro_concat.c -> 69_macro_param_list_err_2.c and Remove spaces12 years ago
68_macro_param_list_err_1.expectRename: 68_macro_concat.c -> 68_macro_param_list_err_1.c 69_macro_concat.c -> 69_macro_param_list_err_2.c and Remove spaces12 years ago
69_macro_param_list_err_2.cRename: 68_macro_concat.c -> 68_macro_param_list_err_1.c 69_macro_concat.c -> 69_macro_param_list_err_2.c and Remove spaces12 years ago
69_macro_param_list_err_2.expectRename: 68_macro_concat.c -> 68_macro_param_list_err_1.c 69_macro_concat.c -> 69_macro_param_list_err_2.c and Remove spaces12 years ago
70_floating_point_literals.cFix parsing of binary floating point number11 years ago
70_floating_point_literals.expectFix parsing of binary floating point number11 years ago
71_macro_empty_arg.cFix macro expansion of empty args.11 years ago
71_macro_empty_arg.expectFix macro expansion of empty args.11 years ago
72_long_long_constant.cThe "open a whisky and cut your finger open" patch11 years ago
73_arm64.carm64: Optimise some integer operations with a constant operand.11 years ago
73_arm64.expectarm64: Optimise some integer operations with a constant operand.11 years ago
74_nocode_wanted.cAdd some missing nocode_wanted guard11 years ago
74_nocode_wanted.expectAdd some missing nocode_wanted guard11 years ago
75_array_in_struct_init.cA right fix for the array in struct initialization w/o '{' Parse a type if there is only one '(' before a type token. Otherwise a recursion will perform a job.11 years ago
75_array_in_struct_init.expectA right fix for the array in struct initialization w/o '{' Parse a type if there is only one '(' before a type token. Otherwise a recursion will perform a job.11 years ago
76_dollars_in_identifiers.cadd missing test from -fdollar-in-identifiers commit11 years ago
76_dollars_in_identifiers.expectadd missing test from -fdollar-in-identifiers commit11 years ago
77_push_pop_macro.c * and #pragma pop_macro("macro_name") * give warning if pragma is unknown for tcc * don't free asm_label in sym_free(), it's a job of the asm_free_labels().11 years ago
77_push_pop_macro.expect * and #pragma pop_macro("macro_name") * give warning if pragma is unknown for tcc * don't free asm_label in sym_free(), it's a job of the asm_free_labels().11 years ago
LICENSEtests2: move into tests13 years ago
Makefile * and #pragma pop_macro("macro_name") * give warning if pragma is unknown for tcc * don't free asm_label in sym_free(), it's a job of the asm_free_labels().11 years ago
LICENSE
The tests in this directory are either directly copied from the picoc project or
are subsequently modified and added to for the purpose of TinyCC project. All
these modifications are licensed under the same terms as TinyCC as specified in
the file COPYING.

=== picoc license ===

Copyright (c) 2009-2011, Zik Saleeba
All rights reserved.

Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions are 
met:

    * Redistributions of source code must retain the above copyright 
      notice, this list of conditions and the following disclaimer.
      
    * Redistributions in binary form must reproduce the above copyright 
      notice, this list of conditions and the following disclaimer in 
      the documentation and/or other materials provided with the 
      distribution.
      
    * Neither the name of the Zik Saleeba nor the names of its 
      contributors may be used to endorse or promote products derived 
      from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t