URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [inherit/] [template-as-base.C] - Rev 816
Compare with Previous | Blame | View Log
// Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
// Distilled from PR C++/3656
namespace N
{
template<typename> struct X { };
}
struct A : N::X { }; // { dg-error "expected class-name" "" }