3 // Copyright (C) 2004 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 21 Jul 2004 <nathan@codesourcery.com>
6 // Failed to spot ambiguous conversion
10 operator int () const; // { dg-error "A1::operator" "" }
15 operator int () const; // { dg-error "A2::operator" "" }
24 return b; // { dg-error "ambiguous" "" }