Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/initlist39.C

raw
1 // { dg-do compile { target c++11 } }
2
3 struct A { int i; };
4
5 void f (const A &);
6 void f (A &&);
7
8 void g (A, int);
9 void g (A, double);
10
11 int main()
12 {
13 f ( { 1 } );
14 g ( { 1 }, 1 );
15 }