1 Primary goal: good coverage of the backend code generators. The
2 following list was derived from the token list in SDCC.lex
4 Follows is a list of tokens and the test case that covers them. If no
5 case is listed then the token is not yet covered. Special cases are
6 listed under the token. If the token is listed as covered then the
7 special cases are also covered.
9 The cases generally assume that on stack local variables and
10 parameters are accessed using the same methods and hence doesn't test
11 stack based parameters.
17 For byte multiples (8, 16...)
18 For more than the word size
29 Constants on either side (reversal)
39 For small constants (<3)
47 Mul/Div/Mod arithmetic:
73 Test that members are not cached across
84 Language features (untestable):
179 Character constants 'x'
180 Specials '\n', '\0', ...