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