1 // Koenig lookup is not defined as intended in the std. DR 218 gives
2 // an indication of what is meant. This test case encapsulates the
3 // current conservative behaviour
5 // Copyright (C) 2006 Free Software Foundation, Inc.
6 // Contributed by Nathan Sidwell 27 Aug 2006 <nathan@codesourcery.com>
30 void g (N::A *a, M::B *b, O::C *c)
34 One (b); // { dg-error "not declared" }
38 Two (a); // { dg-error "not declared" }
39 Two (a, a); // error masked by earlier error
40 Two (b); // error masked by earlier error
41 Two (a, b); // error masked by earlier error
45 Three (a); // { dg-error "not declared" }