projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* src/SDCCcse.c (algebraicOpts): fixed bug 1579949
[fw/sdcc]
/
support
/
regression
/
tests
/
bug1579949.c
1
/*
2
bug 1579949
3
*/
4
5
#include <testfwk.h>
6
7
struct st_s
8
{
9
char el;
10
};
11
12
// no need to call this, it generates compiler error for z80, hc08, stack-auto
13
// error 9: FATAL Compiler Internal Error
14
char foo (int x, struct st_s *arg)
15
{
16
x;
17
return ((struct st_s *) arg) -> el;
18
}
19
20
void
21
testBug(void)
22
{
23
ASSERT(1);
24
}