[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / cast4.C
blob2f46c7189ebe29338819c450e97929388475b39d
1 template <class T> void f()
3   static_cast<int&>(42);        // { dg-error "static_cast" }