URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [ext/] [vla3.C] - Rev 826
Compare with Previous | Blame | View Log
// PR c++/28903
// { dg-options "" }
template <class>
struct View
{
int n;
};
template <class ViewA>
struct ViewDom : View<ViewA>
{
using View<ViewA>::n;
ViewDom();
};
template <class ViewA>
ViewDom<ViewA>::ViewDom()
{
char a[n];
}
void element( )
{
ViewDom<int> a;
}