Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction81.C
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
();
}