Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.mike / misc12.C
blob1ac53bb9a68bc3a8e955456a62f5f517f87a9440
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(); };
7 /* This used to get an error because the DECL_CONTEXT was blown away. */
8 void g(A *ptr) { ptr->f(); }