2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / net29.C
blob1cce5a296cb8bedcfdcdd9962946edf88b53156f
1 // { dg-do assemble  }
2 // This is a test case for the recent libg++ make check problem.
4 class SubString {
5 public:
6   SubString();
7   SubString(const SubString& x);
8 };
10 class String {
11 public:
12   String();
13   String(const SubString&  x);
16 int operator!=(const String& x, const SubString&  y);
17 int operator!=(const String& x, const String& y);
19 int operator!=(const SubString& x, const String& y);
20 int operator!=(const SubString& x, const SubString&  y);
22 void comparetest()
23 {  
24   String x;
25   SubString s;
26   x != s;