picoc/tests
2018-01-11 23:04:24 -06:00
..
csmith Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
jpoirier fix linked list test 2018-01-11 23:04:24 -06:00
00_assignment.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
00_assignment.expect Now allowing multiple declarations in one statement 2009-03-06 06:00:51 +00:00
01_comment.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
01_comment.expect Revamped the way lvalues work. Now both structs and '.' should work. 2009-02-15 05:52:03 +00:00
02_printf.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
02_printf.expect Character constants now work 2009-02-24 01:01:02 +00:00
03_struct.c Added a tentative test for bug #108. 2011-01-24 02:20:48 +00:00
03_struct.expect Revamped the way lvalues work. Now both structs and '.' should work. 2009-02-15 05:52:03 +00:00
04_for.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
04_for.expect Revamped the way lvalues work. Now both structs and '.' should work. 2009-02-15 05:52:03 +00:00
05_array.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
05_array.expect Implemented array lookup 2009-02-15 06:46:37 +00:00
06_case.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
06_case.expect Added test case for switch/case/break 2009-02-18 11:05:34 +00:00
07_function.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
07_function.expect Functions with no parameters tested and passed 2009-03-10 02:04:19 +00:00
08_while.c fix the unary not (logical not) handling for issue #5, add tests 2015-06-14 17:54:48 -05:00
08_while.expect fix the unary not (logical not) handling for issue #5, add tests 2015-06-14 17:54:48 -05:00
09_do_while.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
09_do_while.expect Added tests for functions, while and do..while 2009-02-19 11:00:51 +00:00
10_pointer.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
10_pointer.expect '->' operator implemented 2009-03-09 23:18:04 +00:00
11_precedence.c Added tests for left and right shift operators - issue #114. 2011-01-06 19:42:07 +00:00
11_precedence.expect Added tests for left and right shift operators - issue #114. 2011-01-06 19:42:07 +00:00
12_hashdefine.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
12_hashdefine.expect Completed parameterised macros 2010-07-11 18:44:07 +00:00
13_integer_literals.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
13_integer_literals.expect Added missing tests 2009-03-08 01:10:29 +00:00
14_if.c fix warning for cast to pointer from integer of different size, enhance conditional check of pointer to 'if' test 2015-06-14 17:27:41 -05:00
14_if.expect fix warning for cast to pointer from integer of different size, enhance conditional check of pointer to 'if' test 2015-06-14 17:27:41 -05:00
15_recursion.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
15_recursion.expect Fixed problem with 'return' parsing which was causing the factorial example to fail 2009-03-10 02:18:17 +00:00
16_nesting.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
16_nesting.expect Nesting test added 2009-03-09 20:48:26 +00:00
17_enum.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
17_enum.expect enums implemented 2009-03-09 22:36:01 +00:00
18_include.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
18_include.expect #include now works 2009-03-10 01:01:57 +00:00
18_include.h #include now works 2009-03-10 01:01:57 +00:00
19_pointer_arithmetic.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
19_pointer_arithmetic.expect Pointer arithmetic and NULL pointer support added 2009-04-19 11:49:01 +00:00
20_pointer_comparison.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
20_pointer_comparison.expect Added missing tests 2009-04-22 08:24:56 +00:00
21_char_array.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
21_char_array.expect Fixed a bug in parsing "while ()" and "do..while()". I tried to be too clever. Bad idea. 2009-06-04 00:18:28 +00:00
22_floating_point.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
22_floating_point.expect Changed tests to new standard library. 2010-06-13 11:58:52 +00:00
23_type_coercion.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
23_type_coercion.expect Changed tests to new standard library. 2010-06-13 11:58:52 +00:00
24_math_library.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
24_math_library.expect Changed tests to new standard library. 2010-06-13 11:58:52 +00:00
25_quicksort.c Now calls main() if one has been defined, and not if one hasn't. 2010-07-05 19:00:29 +00:00
25_quicksort.expect Fixed quicksort test 2009-06-17 10:39:32 +00:00
26_character_constants.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
26_character_constants.expect malloc() and free() implemented. 2009-10-25 20:50:56 +00:00
27_sizeof.c fix: issue #2, for real this time 2015-06-13 13:27:01 -05:00
27_sizeof.expect fix: issue #2, for real this time 2015-06-13 13:27:01 -05:00
28_strings.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
28_strings.expect Fixed compile on cygwin 2010-06-29 10:28:13 +00:00
29_array_address.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
29_array_address.expect Added test for defect #60 2009-10-28 21:35:35 +00:00
30_hanoi.c use stdbool.h and convert TRUE/FALSE to true/false 2015-06-10 14:24:53 -05:00
30_hanoi.expect Added hanoi test program. 2010-07-03 15:20:29 +00:00
31_args.c Can now call with command line arguments. 2010-07-03 16:10:15 +00:00
31_args.expect Can now call with command line arguments. 2010-07-03 16:10:15 +00:00
32_led.c Fixed bug108 - brackets were not collapsing the expression stack 2011-02-14 06:05:53 +00:00
32_led.expect Added LED test to the official tests 2011-02-11 05:04:49 +00:00
33_ternary_op.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
33_ternary_op.expect Completed parameterised macros 2010-07-11 18:44:07 +00:00
34_array_assignment.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
34_array_assignment.expect Added test for array assignment 2009-11-04 02:04:47 +00:00
35_sizeof.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
35_sizeof.expect Test for sizeof added 2009-11-07 20:25:31 +00:00
36_array_initializers.c initialize 2015-06-18 22:49:47 -05:00
36_array_initializers.expect initialize 2015-06-18 22:49:47 -05:00
37_sprintf.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
37_sprintf.expect Fixed a bug which was causing sprintf() to crash. 2009-11-14 11:11:38 +00:00
38_multiple_array_index.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
38_multiple_array_index.expect Fixed a bug in multiple dimension array access (issue #80) 2010-06-05 12:58:37 +00:00
39_typedef.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
39_typedef.expect Implemented typedef 2010-06-06 17:03:15 +00:00
40_stdio.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
40_stdio.expect Added EOF to stdio. 2010-06-06 17:31:12 +00:00
41_hashif.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
41_hashif.expect Support for #if, #ifdef, #ifndef, #else and #endif added 2010-07-18 13:42:07 +00:00
42_function_pointer.c Fixed issue with void parameters not being ignored 2010-07-18 17:01:00 +00:00
43_void_param.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
43_void_param.expect Fixed issue with void parameters not being ignored 2010-07-18 17:01:00 +00:00
44_scoped_declarations.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
44_scoped_declarations.expect Fixed a problem with variable declarations in inner blocks giving errors. bug#82. 2010-07-24 16:07:56 +00:00
45_empty_for.c Fixed for loops of the form: 2010-07-27 11:34:24 +00:00
45_empty_for.expect Fixed for loops of the form: 2010-07-27 11:34:24 +00:00
46_grep.c Fixed NO_FP support 2011-02-10 23:50:05 +00:00
47_switch_return.c Fixed problem with returns inside switch() statements not working correctly outside the switch block. 2011-02-11 04:49:44 +00:00
47_switch_return.expect Fixed problem with returns inside switch() statements not working correctly outside the switch block. 2011-02-11 04:49:44 +00:00
48_nested_break.c Fixed a problem with nested while() loops not handling break and continue correctly. 2011-02-11 06:27:54 +00:00
48_nested_break.expect Fixed a problem with nested while() loops not handling break and continue correctly. 2011-02-11 06:27:54 +00:00
49_bracket_evaluation.c Fixed bug108 - brackets were not collapsing the expression stack 2011-02-14 06:05:53 +00:00
49_bracket_evaluation.expect Fixed bug108 - brackets were not collapsing the expression stack 2011-02-14 06:05:53 +00:00
50_logical_second_arg.c Structure element access wasn't obeying precedence rules. It is now. 2011-02-16 04:46:04 +00:00
50_logical_second_arg.expect Structure element access wasn't obeying precedence rules. It is now. 2011-02-16 04:46:04 +00:00
51_static.c Support for static variables complete 2011-02-17 03:17:35 +00:00
51_static.expect Support for static variables complete 2011-02-17 03:17:35 +00:00
52_unnamed_enum.c Added test for unnamed enums 2011-02-18 03:33:58 +00:00
52_unnamed_enum.expect Added test for unnamed enums 2011-02-18 03:33:58 +00:00
54_goto.c Added "goto" statement. 2011-02-21 04:44:16 +00:00
54_goto.expect Added "goto" statement. 2011-02-21 04:44:16 +00:00
55_array_initializer.c initialize 2015-06-18 22:49:47 -05:00
55_array_initializer.expect initialize 2015-06-18 22:49:47 -05:00
56_cross_structure.c Now handles forward declared structures correctly. 2012-09-23 11:48:27 +00:00
56_cross_structure.expect Now handles forward declared structures correctly. 2012-09-23 11:48:27 +00:00
57_macro_bug.c Fix for macro bug sumbitted by broscutamaker 2013-03-16 06:09:32 +00:00
57_macro_bug.expect Fix for macro bug sumbitted by broscutamaker 2013-03-16 06:09:32 +00:00
58_return_outside.c Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
58_return_outside.expect Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
59_break_before_loop.c Merged in a pile of changes from broscutamaker 2013-03-16 07:39:34 +00:00
59_break_before_loop.expect Merged in a pile of changes from broscutamaker 2013-03-16 07:39:34 +00:00
60_local_vars.c Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
60_local_vars.expect Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
61_initializers.c Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
61_initializers.expect Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
62_float.c Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
62_float.expect Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
63_typedef.c Fix: merge fix from https://github.com/zsaleeba/picoc/pull/8 2015-06-13 15:39:51 -05:00
63_typedef.expect Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
64_double_prefix_op.c Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
64_double_prefix_op.expect Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
65_typeless.c Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
65_typeless.expect Added new tests from picoc-fork 2013-03-16 06:24:48 +00:00
66_printf_undefined.c Added a test for a weird problem I was having on OSX. 2014-03-01 00:23:00 +00:00
66_printf_undefined.expect Added a test for a weird problem I was having on OSX. 2014-03-01 00:23:00 +00:00
67_macro_crash.c Fixed issue #192 - "Define macro inside a function block will crash picoc". 2014-03-01 02:54:09 +00:00
67_macro_crash.expect Fixed issue #192 - "Define macro inside a function block will crash picoc". 2014-03-01 02:54:09 +00:00
68_return.c Added tests for issue #191. 2014-03-01 04:28:48 +00:00
68_return.expect Added tests for issue #191. 2014-03-01 04:28:48 +00:00
69_shebang_script.c add shebamg test 2015-06-13 16:23:55 -05:00
69_shebang_script.expect add shebamg test 2015-06-13 16:23:55 -05:00
Makefile initialize 2015-06-18 22:49:47 -05:00