Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction40.C
blob: 4420277479ac65dd5b82b6aba8889e48a118dec8 [
file
] [
log
] [
blame
]
// PR c++/81180
// { dg-do compile { target c++17 } }
template
<
int
I
>
struct
int_
{};
template
<
typename
T
>
struct
A
{
template
<
typename
U
,
int
I
>
struct
B
{
B
(
U u
,
int_
<
I
>){}
};
};
int
main
(){
A
<
int
>::
B v
(
0
,
int_
<
0
>());
(
void
)
v
;
}