Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
conversion4.C
blob: 68973a5544f67fb8195c9a19de1096f2f7f8d67e [
file
] [
log
] [
blame
]
// { dg-do assemble }
struct
A
{
A
(
int
);
};
struct
B
{
operator
int
()
{
return
1
;
}
};
void
f
(
const
A
&);
void
g
()
{
B b
;
f
((
A
)
b
);
f
(
A
(
b
));
// { dg-bogus "" } functional cast treated differently from C style
}