summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/nontype-auto9.C
blob: 2daa346be06c38f47da5d6b5343f690343223219 (plain)
1
2
3
4
5
6
7
8
// PR c++/79556
// { dg-options -std=c++1z }

template <auto> struct A;
template <auto...> struct B;
template <int N, auto Dim, auto... Dims> struct B<N, Dim, Dims...> {
  static auto a = A<B<Dims...>::value>::value;
};