1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-17 09:07:32 +00:00
cc65/test/val/bug1222.c
2020-09-24 12:23:18 +02:00

13 lines
190 B
C

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