Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
ref-qual8.C
blob: b4c972b3c3be1d1e52050ae846bac0baa85eb0c9 [
file
] [
log
] [
blame
]
// { dg-require-effective-target c++11 }
struct
A
{
virtual
void
f
()
&
=
0
;
};
struct
B
:
A
{
void
f
();
// doesn't override
};
B b
;
// { dg-error "abstract" }