blob: 5452280d6f2416086e3a3e386c8ee2b1493d91f2 [file] [log] [blame]
// PR c++/28903
// { dg-options "" }
// { dg-require-effective-target alloca }
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;
}