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
* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
mi.C
1
// { dg-do run }
2
int status;
3
4
struct A { virtual void foo () { status = 1; } };
5
struct B { };
6
struct C : public A, public B { };
7
struct D { virtual void baz () { } };
8
struct E : public D, public C { void foo () { status = 0; } };
9
10
int main ()
11
{
12
E* ep = new E;
13
14
ep->foo();
15
16
return status;
17
}