template <class A> struct Q {}; template <class T> struct base {}; template <class w> struct base<Q<w>>; int main() { base<Q<int>> x; base<const Q<int>> y; }
Standard input is empty
prog.cpp: In function ‘int main()’:
prog.cpp:12:16: error: aggregate ‘base<Q<int> > x’ has incomplete type and cannot be defined
base<Q<int>> x;
^
Standard output is empty