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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [constructor3.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
/* PR c++/29077 */
2
/* { dg-do compile } */
3
 
4
class c {
5
  c();
6
  c(const c&);
7
  ~c();
8
};
9
 
10
namespace m {
11
  c::c() {} /* { dg-error "c::c" } */
12
  c::c(const c&) {} /* { dg-error "c::c" } */
13
  c::~c() {} /* { dg-error "c::~c" } */
14
}

powered by: WebSVN 2.1.0

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