repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
hidden-class10.C
blob
c9b5ca9f663fa3d0cfb3d27e2b190bb8a4a643bb
1
// Copyright (C) 2007 Free Software Foundation
2
// Contributed by Ollie Wild <aaw@google.com>
3
// { dg-do compile }
4
5
// Verify that a friend class is hidden even if it overrides a builtin
6
// function name.
7
8
class A {
9
friend class abort;
10
abort *b; // { dg-error "type|expected" }
11
};