1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-20 12:32:58 +00:00
cc65/test/misc/bug1075.c
2020-07-13 15:12:30 +02:00

11 lines
231 B
C

/* 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;
}