blob: 245a04cd5f90aadaf1578cb142982a03a5a3442b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// PR c++/97034
// { dg-do compile { target c++20 } }
template<typename>
struct E {
template <typename T>
struct G {
T t;
};
void fn() { G{1}; }
};
void
g () {
E<int> e;
e.fn ();
}
|