2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / overload36.C
blob324d766eaaf196a1d92e4575e103e51f6afe5242
1 // { dg-do run  }
2 // Test for subsequence checking in overload resolution.
4 class foo {
5 public:
6   void operator <<(char *) { }
7   void operator <<(const char * const &);
8 };
9  
10 int
11 main()
13   char s[20];
14   foo f;
15   f << s;