Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
class-deduction-alias10.C
blob: a473fff5dc75983956ebb563d236de39eb4ab86a [
file
] [
log
] [
blame
]
// PR c++/101233
// { dg-do compile { target c++20 } }
template
<
class
T
,
class
U
>
struct
A
{
A
(
T
,
U
);
};
template
<
class
T
,
class
U
>
using
B
=
A
<
U
,
T
>;
using
type
=
decltype
(
B
{
0
,
0
});