blob: 32124c1535543382c8efbeae416ea03e2fb183b2 [file] [log] [blame]
/* Verify that used enums are output. */
/* { dg-do compile } */
/* { dg-additional-options "-fno-eliminate-unused-debug-symbols" { target powerpc-ibm-aix* } } */
/* { dg-final { scan-assembler "JTI_MAX" } } */
int var;
enum java_tree_index
{
JTI_MAX
};
void function (void)
{
var = JTI_MAX;
}