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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [init/] [value5.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/38232
2
 
3
class base {
4
 public:
5
  base();
6
  virtual ~base();
7
 
8
 private:
9
  int& int_ref;  // initialized by base ctor, not visible here
10
};
11
 
12
class derived : public base {
13
};
14
 
15
base *make_derived() {
16
  return new derived();
17
}

powered by: WebSVN 2.1.0

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