URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [p10951.C] - Rev 823
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// prms-id: 10951
inline int m1(const int& a) {
return 1;
}
template <class T>
class A {
public:
typedef int st;
static int m2t() {
return m1(1);
}
};
A<int>::st i;
int m3() {
return A<int>::m2t();
}
Go to most recent revision | Compare with Previous | Blame | View Log