Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/cpp0x/variadic139.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// Origin: PR c++/53609 // { dg-do compile { target c++11 } } template<class...I> struct List {}; template<int T> struct Z {static const int value = T;}; template<int...T> using LZ = List<Z<T>...>; template<class...U> struct F { using N = LZ<U::value...>; }; F<Z<1>, Z<2> >::N A;