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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [lookup3.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
// [class.ambig]: A single function, object, type, or enumerator may be
3
// reached through more than one path through the DAG of base classes.  This
4
// is not an ambiguity.
5
 
6
struct A  {
7
  typedef long T;
8
};
9
 
10
struct B : public A { };
11
struct C : public A { };
12
 
13
struct D : public C , public B {
14
  void f (T&);                    // { dg-bogus "" } ambiguous lookup
15
};

powered by: WebSVN 2.1.0

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