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/] [net45.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
template <class T1, class T2>
struct pair {
T1 first;
T2 second;
pair(const T1& a, const T2& b) : first(a), second(b) {}
};
struct myint {
myint() {
}
myint(const myint& mi) {
}
myint& operator=(const myint& mi) { return *this; }
};
extern pair<const myint, myint> a;
pair<const myint, myint> b(a);
Go to most recent revision | Compare with Previous | Blame | View Log