Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/cpp2a/lambda-pack-init4.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
line wrap: on
line source
// P2095R0 // { dg-do compile { target c++20 } } // { dg-options "" } template <class... T> void f(T... t) { [&...x=t]{}; [...&x=t]{}; // { dg-warning "7:&" } }