Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist30.C
blob: eb78f3c1cdbc790d9cf942a8a364872e5d5074b5 [
file
] [
log
] [
blame
]
// Testcase for variadic init list deduction.
// { dg-do compile { target c++11 } }
#include
<initializer_list>
template
<
class
...
Ts
>
void
f
(
std
::
initializer_list
<
Ts
>...
ls
);
int
main
()
{
f
({
1
},{
2.0
});
}