URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [p10951.C] - Rev 516
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();
}