Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist39.C
blob: 169c063a39b1438bec08e0f0fd1264b4c0fc239e [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
A
{
int
i
;
};
void
f
(
const
A
&);
void
f
(
A
&&);
void
g
(
A
,
int
);
void
g
(
A
,
double
);
int
main
()
{
f
(
{
1
}
);
g
(
{
1
},
1
);
}