OSDN Git Service

fix implicit int
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.mike / net43.C
1 // Build don't link:
2
3 class foo {
4  public:
5    friend int operator ^(const foo&, const foo&);
6 };
7
8 int main ()
9 {
10    int (*funptr) (const foo &, const foo &)  = operator ^;
11 }