repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
ref-qual8.C
blob
b4c972b3c3be1d1e52050ae846bac0baa85eb0c9
1
// { dg-require-effective-target c++11 }
2
3
struct A
4
{
5
virtual void f() & = 0;
6
};
7
8
struct B: A
9
{
10
void f(); // doesn't override
11
};
12
13
B b; // { dg-error "abstract" }