3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 14 Nov 2000 <nathan@codesourcery.com>
6 // We failed to spot a static member which overrode a virtual
10 virtual int foo (char);
12 virtual int foo (int); // { dg-error "" } this function
13 static int foo (float);
14 virtual int foo (double);
19 static int foo (int); // { dg-error "" } cannot override