blob: 1cce5a296cb8bedcfdcdd9962946edf88b53156f (
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
|
// { dg-do assemble }
// This is a test case for the recent libg++ make check problem.
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;
}
|