Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
temp-constructor-bug.C
blob: 9d8a3bd8be8d25749dc4ac1b110a4dfbaa550031 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-options "" }
struct
S
{
};
struct
T
{
S s
;
};
void
f
(
T
const
&);
void
g
()
{
f
((
T
){
S
()});
}