1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-09 01:28:58 +00:00
cc65/test/misc/bug1075.c

11 lines
231 B
C
Raw Normal View History

2020-07-13 13:12:30 +00:00
/* 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;
}