URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [crash69.C] - Rev 693
Compare with Previous | Blame | View Log
// PR c++/31132
template<typename T> class A
{
static int i; // { dg-error "is private" }
friend int T::foo(); // { dg-error "does not match" }
};
struct B
{
void foo() { A<B>::i; } // { dg-error "within|candidate" }
};