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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
misc12.C
blob
1ac53bb9a68bc3a8e955456a62f5f517f87a9440
1
// { dg-do assemble }
2
// GROUPS passed
3
struct A { virtual void f(); };
4
struct B { virtual void f() ; };
5
struct C : virtual A , virtual B { virtual void f(); };
6
7
/* This used to get an error because the DECL_CONTEXT was blown away. */
8
void g(A *ptr) { ptr->f(); }