Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction98.C
blob: bee0ce433ee0f6ebcb7cd4b4de51c8495a20d8f7 [
file
] [
log
] [
blame
]
// PR c++/79501
// { dg-do compile { target c++17 } }
template
<
class
T
>
struct
A
{
template
<
class
U
>
struct
B
{
template
<
class
V
>
B
(
V
);
};
B
(
T
)
->
B
<
T
>;
};
A
<int>
::
B b
(
0
);