aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/enum2.c
blob: 575cc5ce08680a84836d6621bdb16597d3253763 (plain)
1
2
3
4
5
6
7
8
/* { dg-options "-fshort-enums" } */
/* Check that "-fshort-enums" packs enumeration tyes into a minimal
   number of bytes..  */

enum e { e_1 };

extern int i[sizeof (enum e)];
int i[1];