OSDN Git Service

Implement C++11 delegating constructors.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / initlist-array2.C
1 // { dg-options -std=c++0x }
2
3 typedef int IA[2];
4 typedef double DA[2];
5
6 void f(const IA&) { }
7 void f(const DA&);
8
9 int main()
10 {
11   f({1,2});
12 }