comparison gcc/testsuite/gcc.dg/enum2.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-options "-fshort-enums" } */
2 /* Check that "-fshort-enums" packs enumeration tyes into a minimal
3 number of bytes.. */
4
5 enum e { e_1 };
6
7 extern int i[sizeof (enum e)];
8 int i[1];