summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-variadic16.C
blob: 8e48e38a3451c0d947dd8c0a68b18604fd12f212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/100282
// { dg-do compile { target c++11 } }

template <typename... Ts>
void
local_class ()
{
  int { []{ struct ZZ : Ts {}; }... }; // { dg-bogus "" "" { xfail *-*-* } }
}

template // <>
void
local_class<int> ();