Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/cpp0x/alias-decl-33a.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
// PR c++/51239 // { dg-require-effective-target c++11 } // This variant should work because tail is equivalent to list. template<class y, class... x> class list{}; template<class a, class... b> using tail=list<a, b...>; template <class...T> void f(tail<T...>); int main() { f<int,int>({}); }