PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / debug / pr22514.C
blobed31cc7a103126531681178b2c6864eeaa3cf217
1 /* { dg-do compile } */
2 namespace s
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" }
13 s::list<1> OutputModuleListType;