| 1 |
/* |
| 2 |
Contributed by Dodji Seketeli <[email protected]> |
| 3 |
{ dg-options "-gdwarf -dA -fno-merge-debug-strings" } |
| 4 |
{ dg-do compile } |
| 5 |
{ dg-final { scan-assembler-times "DIE \\(0x\[^\n\]*\\) DW_TAG_enumeration_type" 1 } } |
| 6 |
{ dg-final { scan-assembler-times "DIE \\(0x\[^\n\]*\\) DW_TAG_enumerator" 2 } } |
| 7 |
{ dg-final { scan-assembler-times "ascii \"a.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 { xfail { powerpc-ibm-aix* } } } } |
| 8 |
{ dg-final { scan-assembler-times "ascii \"b.0\"\[\t \]+\[^\n\]*DW_AT_name" 1 { xfail { powerpc-ibm-aix* } } } } |
| 9 |
*/ |
| 10 |
|
| 11 |
enum { a, b }; |
| 12 |
|
| 13 |
int v = a; |
| 14 |
char s[b]; |