* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / class-deduction34.C
blob380c35fdb031bf8fddcec0d0d2b3bac520e34ff0
1 // { dg-options -std=c++17 }
3 template <class T>
4 struct A
6   template <class U>
7   static constexpr bool B = U();
9   template <class U, bool V = B<U>>
10   A(T, U);
13 A a (1,2);