* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / nontype-auto9.C
blob65f5cfe7ce41a1638936c8a57f95e1cf8e7c2c6a
1 // PR c++/79556
2 // { dg-options -std=c++17 }
4 template <auto> struct A;
5 template <auto...> struct B;
6 template <int N, auto Dim, auto... Dims> struct B<N, Dim, Dims...> {
7   static auto a = A<B<Dims...>::value>::value;
8 };