mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +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;
|
||
|
}
|
||
|
|