URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [pr32519.C] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
// PR 32519
// { dg-do compile }
struct B
{
protected:
template <class T> void f (); // { dg-error "protected" }
};
struct D : public B
{
void g (B* b)
{
b->f<int> (); // { dg-error "context" }
}
};
Go to most recent revision | Compare with Previous | Blame | View Log