1/* { dg-do compile } */
2namespace 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  }
12}  /* { dg-error "expected unqualified-id before '\}'" } */
13s::list<1> OutputModuleListType;  /* { dg-error "expected" } */
14