3 // Copyright (C) 2001, 2002 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 29 Dec 2001 <nathan@codesourcery.com>
6 // PR 4361. Template conversion operators were not overloaded.
10 template <typename T2> operator T2 ()
16 return operator int ();
24 return operator int (); // { dg-error "not defined" "" }