aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction34.C
blob: b03587969cfa8358e0d34e1224a6cbd37edf1375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-options -std=c++1z }

template <class T>
struct A
{
  template <class U>
  static constexpr bool B = U();

  template <class U, bool V = B<U>>
  A(T, U);
};

A a (1,2);