test related to issue #1245
This commit is contained in:
parent
6fdd90fa63
commit
46ebb15c76
1 changed files with 12 additions and 0 deletions
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…
Add table
Reference in a new issue