Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/concepts/explicit-spec6.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// { dg-do compile { target c++17 } } // { dg-options "-fconcepts" } template<typename T> struct A { template<class T2> void f1(T, T2); // member template template<class T2> void f2(T, T2); // member template }; template<> template<class X1> void A<int>::f1(int, X1); // Specialization with template-id template<> template<> void A<int>::f2<char>(int, char); // Specialization with deduction template<> template<> void A<int>::f1(int, char);