2 // { dg-options "-fpermissive" }
4 // Copyright (C) 2000 Free Software Foundation, Inc.
5 // Contributed by Nathan Sidwell 28 Feb 2001 <nathan@codesourcery.com>
7 // Make sure we warn about our overload extension about picking the
8 // one with the least worse conversion
14 void Foo (int, float, bool); // { dg-warning "" } candidate
15 void Foo (float, int, X); // { dg-warning "" } candidate
19 Foo (1, 1, 0); // { dg-warning "" } least worse