OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.dg/warn/miss-format-1.C: XFAIL vscanf test on Solaris 2.5.1 to 8.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Woverloaded-1.C
1
/* { dg-options "-Woverloaded-virtual" } */
2
3
class Base {
4
public:
5
virtual ~Base() {
6
}
7
};
8
9
class Derived: public Base {
10
public:
11
int Base() { // There should be no error here.
12
return 5;
13
}
14
};
15
16
int main() {
17
}