Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
class-deduction-alias11.C
blob: 87eb3e6525a3cf84bcfba9e01296ea8265f04153 [
file
] [
log
] [
blame
]
// PR c++/102643
// { dg-do compile { target c++20 } }
template
<
class
_Tp
,
class
>
struct
vector
{
typedef
int
allocator_type
;
vector
(
_Tp
,
allocator_type
=
allocator_type
());
};
template
<
class
T
>
using
vector_mm
=
vector
<
T
,
int
>;
vector_mm v
(
0
);