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

template <class... Ts> void f(Ts...);
template <class T> T g(T);
template <typename... Ts> void print(Ts... args) {
  [&] { f(g<decltype(args)>(args)...); }();
}
int main() { print(5.2); }