projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* as/hc08/lkaomf51.c (OutputName),
[fw/sdcc]
/
support
/
regression
/
tests
/
bug-1493710.c
1
/*
2
bug-1493710.c
3
4
cse
5
findPointerSet with signed/unsigned operands
6
*/
7
8
#include <testfwk.h>
9
10
struct
11
{
12
unsigned char a;
13
} st = { 0xff };
14
15
signed char c = -1;
16
17
unsigned char f (void)
18
{
19
st.a += c;
20
return st.a > 8;
21
}
22
23
void
24
testFindPointerSet(void)
25
{
26
ASSERT(f() == 1);
27
}