mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
test related to issue #1245
This commit is contained in:
parent
6fdd90fa63
commit
46ebb15c76
12
test/val/bug1245.c
Normal file
12
test/val/bug1245.c
Normal 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user