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
2012-04-15 Fabien ChĂȘne <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
hidden-class11.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 is hidden by a non-builtin
6
// function name.
7
8
namespace M {
9
void F (void);
10
class F;
11
}
12
13
namespace N {
14
void F(void);
15
class A {
16
friend class F;
17
};
18
}
19
20
using namespace M;
21
using namespace N;
22
23
class F *b;