repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
other
/
friend1.C
blob
3193180ca3ea108f4d8c41fec60edcf4daac6a8f
1
// { dg-do compile }
2
3
// Copyright (C) 2001 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 10 Oct 2001 <nathan@codesourcery.com>
5
6
// Bug 4476. We tangled up inline friends and pure virtuals during
7
// class definition.
8
9
struct A {
10
friend void f () { }
11
void g (A a) { }
12
};