blob: 86a682481575830aab602364d8c6ee235bdc4958 [file] [log] [blame]
// PR c++/97034
// { dg-do compile { target c++17 } }
template <typename Z>
struct E {
template <typename T>
struct G {
T t;
G(T) { }
};
void fn() { G{1}; }
};
void
g ()
{
E<int> e;
e.fn ();
}