Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction4.C
blob: 391beee8d8f41ed876a5be6255898fc4189bea5d [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
template
<
int
I
,
int
J
>
struct
A
{
};
template
<
int
I
>
struct
B
{
template
<
int
J
>
B
(
A
<
I
,
J
>);
};
A
<
42
,
24
>
a
;
B b
(
a
);
int
main
()
{
(
B
(
a
));
}