2014-08-04 Ed Schonberg <schonberg@adacore.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr22311-1.c
blob4eec5ce9a25072877cb521f88e499fb6fa2a4f23
1 /* Bug 22311: ICE with -fshort-enums on shortened operations. */
2 /* { dg-do compile } */
3 /* { dg-options "-fshort-enums" } */
5 typedef enum { A = 1 } E;
6 void f(E e, unsigned char c) { c |= e; }