3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 24 Jul 2001 <nathan@codesourcery.com>
6 // Bug 3416. We left some unchecked overloaded functions lying around.
10 void operator << (int);
11 void operator << (float);
24 x << (a ? OVL1 : OVL2); // { dg-error "" } incomplete type
25 a ? OVL1 : OVL2; // { dg-error "" } incomplete type