summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/initlist3.C
blob: 412deb51129a8c8326b76198ad14891672c4c5de (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-options "-std=c++0x" }

#include <initializer_list>

template <class T> void f(std::initializer_list<T>);

void g()
{
  f({1,2,3});
}