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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [eh/] [cond2.C] - Blame information for rev 764

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/14083
2
 
3
struct A {
4
  A() throw() { }
5
  A(const A&) throw() { }
6
};
7
 
8
struct X {
9
  A a;
10
  X();
11
  X& operator=(const X& __str);
12
};
13
 
14
bool operator==(const X& __lhs, const char* __rhs);
15
 
16
int main() {
17
  X x;
18
  x=="" ? x : throw 1;
19
}

powered by: WebSVN 2.1.0

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