Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
()});
}