1 /* { dg-do compile } */ 2 namespace s 3 { 4 template <int> struct _List_base 5 { 6 int _M_impl; 7 }; 8 template<int i> struct list : _List_base<i> 9 { 10 using _List_base<i>::_M_impl; 11 } // { dg-error "after struct definition" } 12 } 13 s::list<1> OutputModuleListType; 14