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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
 
3
class A {
4
protected:
5
  static void f() {}
6
};
7
 
8
class B : A {
9
public:
10
  using A::f;
11
  void g() {
12
    f();
13
    A::f();
14
  }
15
  struct C {
16
    void g() {
17
      f();
18
      A::f();
19
    }
20
  };
21
};

powered by: WebSVN 2.1.0

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