OSDN Git Service

2007-12-13 Douglas Gregor <doug.gregor@gmail.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / temp-constructor-bug.C
1 // { dg-options "--std=c++0x" }
2
3 struct S { };
4
5 struct T
6 {
7   S s;
8 };
9
10 void f(T const &);
11
12 void g()
13 {
14   f((T){S()});
15 }