aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction51.C
blob: eba7972c3c63e4908b34896b937618c9ebd7688e (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/84937
// { dg-additional-options -std=c++17 }

template<int, int> struct A {};

template<int I> struct B
{
  template<auto J> B(A<I,J>);
};

B b(A<0,0>{});