blob: a5bdb2eda9194e9f8cb60cab699b45790390d424 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Testcase for variadic init list deduction.
// { dg-options "-std=c++0x" }
#include <initializer_list>
template <class... Ts>
void f (std::initializer_list<Ts>... ls);
int main()
{
f({1},{2.0});
}
|