URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [access24.C] - Rev 12
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; }
};