(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
union2.C
/* PR c++/40557 */
/* { dg-do compile } */

struct A
{
  typedef int X;
};

template<int> union B
{
  A::X x;
};