URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [crash32.C] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-options "-std=c++98 -pedantic-errors" }
// { dg-do assemble }
// Origin: Jason Merrill <jason@cygnus.com>
template <class T> struct A
{
struct B;
};
template<class T> struct C
{
friend typename A<T>::B; // { dg-error "" } `typename' not allowed
};
Go to most recent revision | Compare with Previous | Blame | View Log