blob: 6635241eb891a09f88ac01250548e9267e96e04b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// This is a test case for the recent libg++ make check problem.
// Build don't link:
class SubString {
public:
SubString();
SubString(const SubString& x);
};
class String {
public:
String();
String(const SubString& x);
};
int operator!=(const String& x, const SubString& y);
int operator!=(const String& x, const String& y);
int operator!=(const SubString& x, const String& y);
int operator!=(const SubString& x, const SubString& y);
void comparetest()
{
String x;
SubString s;
x != s;
}
|