URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [crash26.C] - Rev 693
Compare with Previous | Blame | View Log
// { dg-do compile }
// Origin: Volker Reichelt <reichelt@gcc.gnu.org>
// PR c++/18471: ICE redeclaration of typedef as class template
typedef int X; // { dg-message "previous" }
template<X> struct X {}; // { dg-error "typedef-name" }