Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }