picoc/tests
zik.saleeba a784b77f75 Fix for macro bug sumbitted by broscutamaker
git-svn-id: http://picoc.googlecode.com/svn/trunk@597 21eae674-98b7-11dd-bd71-f92a316d2d60
2013-03-16 06:09:32 +00: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 Now handling return values from main. 2010-07-27 16:20:09 +00:00
08_while.expect Added tests for functions, while and do..while 2009-02-19 11:00:51 +00: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 Now handling return values from main. 2010-07-27 16:20:09 +00:00
14_if.expect Added missing tests 2009-03-09 00:49:01 +00: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 Now handling return values from main. 2010-07-27 16:20:09 +00:00
27_sizeof.expect Doing some work on casts and sizeof 2009-10-10 14:49:49 +00: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 Fixed a bug in bracket evaluation - was collapsing the expression stack at the wrong precedence. 2011-02-16 03:58:48 +00: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_initialisers.c Now handling return values from main. 2010-07-27 16:20:09 +00:00
36_array_initialisers.expect Added missing test 2009-11-08 16:38:42 +00: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_initialiser.c Added new test 2012-09-06 12:08:25 +00:00
55_array_initialiser.expect Added new test 2012-09-06 12:08:25 +00: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
59_break_before_loop.c Added test case for #163 2013-03-16 05:58:42 +00:00
59_break_before_loop.expect Added test case for #163 2013-03-16 05:58:42 +00:00
Makefile Fix for macro bug sumbitted by broscutamaker 2013-03-16 06:09:32 +00:00