Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
class-deduction-aggr9.C
blob: 245a04cd5f90aadaf1578cb142982a03a5a3442b [
file
] [
log
] [
blame
]
// 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
();
}