URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [access24.C] - Rev 699
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Bug: forward reference to friend doesn't work in template.
template <class T> class A {
static int i;
friend struct B;
};
struct B {
void f () { A<int>::i = 0; }
};