repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
crash52.C
blob
b29271b9dd962d07e5daa23fcf58748c1137fa27
1
// Build don't link:
2
// GROUPS passed old-abort
3
// Special g++ Options: -Wreturn-type
4
#include <iostream>
5
6
class A {
7
public:
8
friend A f(A &a);// ERROR - ambiguates.*
9
};
10
11
A &f(A &a) {// ERROR - new decl.*
12
std::cout << "Blah\n";
13
}