1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-09 06:29:38 +00:00

test related to issue #1245

This commit is contained in:
mrdudz 2020-09-23 23:57:25 +02:00
parent 6fdd90fa63
commit 46ebb15c76

12
test/val/bug1245.c Normal file
View File

@ -0,0 +1,12 @@
/* bug #1245 - ICE for enums with int initializers */
#include <stdlib.h>
enum E {
X = 1000,
} e = 3;
int main(void)
{
return EXIT_SUCCESS;
}