comparison gcc/testsuite/g++.dg/cpp0x/lambda/lambda-variadic10.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
145:1830386684a0 152:2b5abeee2509
1 // PR c++/92909
2 // { dg-do compile { target c++11 } }
3
4 template <class ... Ts>
5 void foo()
6 {
7 []
8 {
9 using T = Ts;
10 }(); // { dg-error "not expanded" }
11 }
12 template void foo<>();