PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / ref6.C
blob2e1254ae35b27fc9294ee173034b1730527f6d7b
1 // PR c++/53816
3 template <typename T>
4 struct S { int v () const; };
5 template <typename T>
6 struct V : public S<T> {};
7 struct U
9   V<int> v;
10   template<typename T>
11   struct W
12   {
13     W (U const &x) { V<int> const &v = x.v; v.v(); }
14   };