URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [parse/] [typename5.C] - Rev 320
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// PR c++/10553: ICE processing typename with context error.
template <typename> struct A {};
template <typename> struct B
{
typedef A<typename X::Y> C; // { dg-error "declared|invalid|no type|expected" }
};
Go to most recent revision | Compare with Previous | Blame | View Log