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
* g++.dg/cdce3.C: Skip on alpha*-dec-osf5*.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
friend.C
1
/* { dg-do compile } */
2
/* { dg-options -Wredundant-decls } */
3
4
/* Test to see if spurious warnings about redundant
5
declarations are emiited because of the friend
6
declaration. */
7
8
class Foo
9
{
10
friend void bar (Foo);
11
public:
12
};
13
14
extern void bar (Foo);