/* { dg-options "-DCE_EXTRACT_FUNCTIONS=f -DCE_EXPORT_SYMBOLS=bbb" }*/

int bbb;

#define A bbb
#define B bbb

int f()
{
  return A + B ;
}

/* { dg-final { scan-tree-dump "static int \*klpe_bbb __attribute__\(\(used\)\);|__attribute__\(\(used\)\) static int \*klpe_bbb;" } } */
/* { dg-final { scan-tree-dump "#define A \(\*klpe_bbb\)" } } */
/* { dg-final { scan-tree-dump "#define B \(\*klpe_bbb\)" } } */
