blob: d10afdcc43d70f5e414728c4dcbd59a4514920d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Build don't link:
// GROUPS passed old-abort
#include <iostream.h>
class A {
public:
friend A f(A &a);// ERROR - ambiguates.*
};
A &f(A &a) {// ERROR - new decl.*
cout << "Blah\n";
} // ERROR - non-void function
|