repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* config/sparc/driver-sparc.c (cpu_names): Add SPARC-T5 entry.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
covariant19.C
blob
22c2b0eb6f629f48e9852d0910a2a2cec01de02a
1
// PR c++/46220
2
// According to the letter of the standard this is invalid,
3
// but that seems like a bug.
4
5
class Baz;
6
class Foo {
7
public:
8
virtual const Baz* getBaz() = 0;
9
};
10
class Bar : public Foo {
11
public:
12
Baz* getBaz();
13
};
14