3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 29 Dec 2001 <nathan@codesourcery.com>
6 // PR 4361. Template conversion operators were not overloaded.
8 template <typename T> struct C
14 template <typename T2> operator T2 ()
22 template <typename T2> int Baz ()
24 return static_cast <int> (operator T2 ());