Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/class-deduction-alias11.C

raw
1 // PR c++/102643
2 // { dg-do compile { target c++20 } }
3
4 template<class _Tp, class>
5 struct vector {
6 typedef int allocator_type;
7 vector(_Tp, allocator_type = allocator_type());
8 };
9
10 template<class T> using vector_mm = vector<T, int>;
11
12 vector_mm v(0);