// Copyright (C) 2007 Free Software Foundation // Contributed by Ollie Wild // { dg-do compile } // Verify that a friend class is hidden even if it overrides a builtin // function name. class A { friend class abort; abort *b; // { dg-error "type|expected" } };