(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
pr79296.C
// { dg-do compile { target c++11 } }
// { dg-require-effective-target lto }
// { dg-additional-options "-flto" }

// PR 79296 ICE mangling local class of localized instantiation

struct X {
  template <typename T> X (T const *) {
    struct Z {};
  }
};

void Baz ()
{
  struct Y { } y;

  0, X (&y);
}