URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [parse/] [tmpl-outside1.C] - Rev 154
Compare with Previous | Blame | View Log
// PR c++/3792
// Origin: <david.abrahams@rcn.com>
// { dg-do compile }
struct X
{
template <int i> struct Y {};
};
typedef X::template Y<0> y; // { dg-error "template|invalid" }