mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
test related to issue #1244
This commit is contained in:
parent
46ebb15c76
commit
b3491e3d9a
18
test/val/bug1244.c
Normal file
18
test/val/bug1244.c
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
/* bug #1244 - ICE for enum bit-fields */
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
enum E {
|
||||||
|
L = 65535L /* or U = 65535U */
|
||||||
|
};
|
||||||
|
|
||||||
|
struct S {
|
||||||
|
enum E a : 16;
|
||||||
|
} s;
|
||||||
|
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user