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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [dwarf2/] [pr41063.C] - Blame information for rev 717

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// Contributed by Cary Coutant 
2
// Origin: PR debug/41063
3
// { dg-do compile }
4
 
5
struct A {
6
  virtual void run();
7
};
8
 
9
void test() {
10
  struct B : public A {
11
    void run() {
12
      struct C : public A {
13
        C() { }
14
        B *b_;
15
      };
16
      C c;
17
    }
18
  };
19
  B b;
20
}

powered by: WebSVN 2.1.0

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