mirror of
https://github.com/cc65/cc65.git
synced 2024-12-30 20:29:25 +00:00
added testcase for issue #1075
This commit is contained in:
parent
693e3a7109
commit
f5d99106e6
10
test/misc/bug1075.c
Normal file
10
test/misc/bug1075.c
Normal file
@ -0,0 +1,10 @@
|
||||
/* bug #1075 Internal compiler error */
|
||||
|
||||
long rhs;
|
||||
|
||||
int main(void)
|
||||
{
|
||||
/* the whole lhs is errorneously treated as an absolute address (integer
|
||||
constant) neglecting its dereference */
|
||||
return *(char *)0xD77C + rhs;
|
||||
}
|
Loading…
Reference in New Issue
Block a user