summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/pr22514.C
blob: ed31cc7a103126531681178b2c6864eeaa3cf217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
namespace s
{
  template <int> struct _List_base
  {
     int _M_impl;
  };
  template<int i> struct list : _List_base<i>
  {
    using _List_base<i>::_M_impl;
  } // { dg-error "after struct definition" }
}
s::list<1> OutputModuleListType;