Debian Codegraph @

gcc/testsuite/gcc.dg/pr22311-1.c

raw
1 /* Bug 22311: ICE with -fshort-enums on shortened operations. */
2 /* { dg-do compile } */
3 /* { dg-options "-fshort-enums" } */
4
5 typedef enum { A = 1 } E;
6 void f(E e, unsigned char c) { c |= e; }