Fix sorting in Contributors.html
[official-gcc.git] / gcc / testsuite / g++.dg / cpp2a / nontype-class65.C
blob8397ea5a886e7029edf409c9b51fae08b120d66a
1 // PR c++/113649
2 // { dg-do compile { target c++20 } }
4 template<class... Args>
5 struct A {
6   template<class Ret>
7   struct Fun { constexpr Fun(Ret(*)(Args...)) { } };
9   template<Fun f>
10   struct B { using type = decltype(f); };
13 bool f(char, long);
15 using type = A<char, long>::B<&f>::type;
16 using type = A<char, long>::Fun<bool>;