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

16 lines
118 B
C

// { dg-options "--std=c++0x" }
struct S { };
struct T
{
S s;
};
void f(T const &);
void g()
{
f((T){S()});
}