1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 2 Apr 2005 <nathan@codesourcery.com>
5 // Origin: Andrew Pinski <pinskia@gcc.gnu.org>
6 // Nathan Sidwell <nathan@gcc.gnu.org>
11 Foo (const T &); // { dg-message "T = Bar" }
17 operator T () const; // { dg-message "T = Foo" }
20 Foo Quux (Bar const &b)
22 return b; // { dg-error "ambiguous" }