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
/
parse
/
error29.C
blob
b50b275a9e622aba1cc7e4bb4f8228793f32a0c6
1
// PR c++/25637
2
3
struct A {
4
void foo();
5
A();
6
void operator delete(void *);
7
};
8
struct B {
9
friend void A::foo() {} // { dg-error "define" }
10
friend void A::operator delete(void*) {} // { dg-error "define" }
11
friend A::A() {} // { dg-error "define" }
12
};