Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/initlist-array2.C

raw
1 // { dg-do compile { target c++11 } }
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 }