Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
gcc
/
testsuite
/
g++.dg
/
other
/
error20.C
blob: 50a4495cff9ee22454e80078d06ad714d264d3d9 [
file
] [
log
] [
blame
]
// PR c++/34275
// { dg-do compile }
struct
A
{
// { dg-message "candidates" }
virtual
A foo
();
};
void
bar
(
A
&
a
)
{
a
.
foo
()
=
0
;
// { dg-error "A::foo\\(\\) = 0" }
}