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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/12226
2
 
3
class foo {
4
private:
5
  foo(const foo &); // { dg-error "" }
6
public:
7
  foo();
8
};
9
const foo &bar = foo(); // { dg-error "" }
10
 
11
class derived : public foo {
12
private:
13
  derived(const derived&);  // { dg-error "" }
14
public:
15
  derived();
16
};
17
 
18
const foo& baz = derived(); // { dg-error "" }

powered by: WebSVN 2.1.0

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