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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
// { dg-options "-fexceptions -O -g" }
3
// prms-id: 11142
4
 
5
class RWxmsg {
6
public:
7
  RWxmsg();
8
  virtual ~RWxmsg();
9
};
10
 
11
class RWTHRInternalError : public RWxmsg {
12
public:
13
  virtual ~RWTHRInternalError() { }
14
};
15
 
16
void setCount(int count) {
17
  throw RWTHRInternalError();
18
}

powered by: WebSVN 2.1.0

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