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++.other/] [access6.C] - Rev 305
Compare with Previous | Blame | View Log
// { dg-do assemble }
template <int I>
struct S {
void g();
};
class C {
static const int i = 3; // { dg-bogus "" } private
public:
S<C::i>* f(); // { dg-bogus "" } redeclared
};
S<C::i>* C::f() { // { dg-bogus "" } private
return 0;
}