Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
copy3.C
blob: 3b74a905f5e56d4fbaa3115a5c887e7df536ab11 [
file
] [
log
] [
blame
]
// { dg-do link }
// Origin: ericp@mit.edu
class
bar
{
};
class
foo
{
foo
(
const
foo
&
f
);
public
:
foo
(
bar x
)
{}
foo
()
{}
void
test
(
const
foo
&
f
)
{}
};
int
main
(
void
)
{
foo f
;
bar b
;
f
.
test
(
b
);
}