c++: robustify testcase [PR109752]
[official-gcc.git] / gcc / testsuite / g++.dg / template / nested5.C
blobe3e871e6d85989809de097db7732314e3067464f
1 // PR c++/33959
3 template <typename T> struct A
5   struct C
6   {
7     template <typename U> struct D {};
8   };
9   template <typename S> static C::template D<S> bar (S const &);
12 struct E {};
14 int
15 main ()
17   E e;
18   A<E>::bar (e);