OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [disamb1.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/525
2
// Bug: With -pedantic, we weren't converting this to B1* for the call.
3
 
4
struct A
5
{
6
  void f();
7
};
8
 
9
struct B1: public A {};
10
struct B2: public A {};
11
 
12
struct C: public B1, public B2
13
{
14
  void g() { B1::f(); };
15
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.