(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
lto/
pr101396_0.C
/* { dg-lto-do link } */

enum A : __UINT32_TYPE__ { // { dg-lto-warning "6: type 'A' violates the C\\+\\+ One Definition Rule" }
  a, // { dg-lto-note "3: name 'a' is defined as 32-bit while another translation unit defines it as 64-bit" }
  b,
  c
};

int main()
{
  return (int) A::a;
}