aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/class-deduction-alias11.C
blob: 87eb3e6525a3cf84bcfba9e01296ea8265f04153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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);