[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / cast2.C
blob0ce55f035581bdb5bfe37c15eea0e9f3926ef1fc
1 // PR c++/56238
3 class A
5   template < typename T > T& get ();
6   template < typename T > class B
7   {
8     void RemovePoint (A& value)
9     {
10       static_cast < double >(value.get < T > ());
11     }
12   };