OSDN Git Service

* c-decl.c (grokfield): Allow typedefs for anonymous structs and
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr22311-1.c
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; }