projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* src/mcs51/gen.c (gen51Code): show final register usage after fillGaps in asm with...
[fw/sdcc]
/
support
/
regression
/
tests
/
bug-485362.c
1
/** Shows segfault.
2
type: int
3
*/
4
#include <testfwk.h>
5
6
void
7
spoil({type} f)
8
{
9
UNUSED(f);
10
}
11
12
void
13
testDivBySelf(void)
14
{
15
volatile {type} left, result;
16
17
left = 17;
18
result = left/left;
19
20
spoil(result);
21
}