URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [eh57.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-fno-exceptions" }
class Calendar_Time {
public:
~Calendar_Time ();
int operator <= (const Calendar_Time& t) const;
};
class Temporal_Model_Interval {
public:
Calendar_Time start_time ();
};
int intersects_p (Temporal_Model_Interval* i1, Temporal_Model_Interval* i2) {
return ((i1->start_time() <= i2->start_time())
|| (i1->start_time() <= i2->start_time()));
}
Go to most recent revision | Compare with Previous | Blame | View Log