OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2009-10-05 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
hidden-class10.C
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 "no type|expected" }
11
};