mirror of
https://github.com/cc65/cc65.git
synced 2024-09-06 02:54:33 +00:00
19 lines
195 B
C
19 lines
195 B
C
|
|
||
|
/* 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;
|
||
|
}
|
||
|
|