1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-02 18:06:48 +00:00
cc65/test/val/bug1222.c

13 lines
190 B
C
Raw Normal View History

2020-09-24 10:23:18 +00:00
/* bug #1222 - 'sizeof' issues */
#include <stdlib.h>
int a[1];
int b[sizeof ++a[42]]; /* should work as '++a[42]' is actually unevaluated */
int main(void)
{
return EXIT_SUCCESS;
}