Sign in
gnu
/
gcc
/
418f81eefb6540582e4818225404d4a647ad67eb
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
conversion.C
blob: 80436f355a23914012109318bae0e07ee15565de [
file
] [
log
] [
blame
]
// Bug: g++ doesn't find the conversion path from DPtr& to B*.
// Build don't link:
class
B
{};
class
D
:
public
B
{};
class
DPtr
{
public
:
operator
D
*()
const
;
};
void
foo
(
B
*
bp
);
void
bar
(
DPtr
&
dp
)
{
foo
(
dp
);
}