Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/temp-constructor-bug.C

raw
1 // { dg-do compile { target c++11 } }
2 // { dg-options "" }
3
4 struct S { };
5
6 struct T
7 {
8 S s;
9 };
10
11 void f(T const &);
12
13 void g()
14 {
15 f((T){S()});
16 }