summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-variadic12.C
blob: 674615748e685181957d1cc90c77e89a161c8566 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/99583
// { dg-do compile { target c++11 } }

void f(...);

template <bool... B>
void g() {
 f([]() noexcept(B) {} ...);
}