blob: c9b5ca9f663fa3d0cfb3d27e2b190bb8a4a643bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Copyright (C) 2007 Free Software Foundation
// Contributed by Ollie Wild <aaw@google.com>
// { 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" }
};
|