c++: robustify testcase [PR109752]
[official-gcc.git] / gcc / testsuite / g++.dg / template / partial-specialization4.C
blob1f2acedf47e18fb8c5947884b8ded7d06c893050
1 // PR c++/70141
3 template <typename T>
4 struct outer
6   template <typename U>
7   struct inner
8   {
10   };
14 template <typename T>
15 struct is_inner_for
17   template <typename Whatever>
18   struct predicate;
20   template <typename U>
21   struct predicate<typename outer<T>::template inner<U> >
22   {
23   };
26 is_inner_for<int>::predicate<outer<int>::inner<double> > p;