2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / net28.C
blob5cac8563c7102aa1b2076ceb89ebcc1fda0a0826
1 // { dg-do assemble  }
2 // From reinhard@ifki50.informatik.fh-muenchen.de against gcc 2.5.0.
3 // shows an InterViews problem on RS6000 and i386.  Doesn't happen on
4 // SPARC.
6 // From fbrowser.c.
9 class test {
13 typedef int ( test    ::*   test2)(int fd);
15 class    ivFileBrowserImpl_IOCallback
17  public:
19  int inputReady(int fd);
20   test    * _obj;
21   test2   _input;
22 }; 
25 int    ivFileBrowserImpl_IOCallback  ::inputReady(int fd)
27         return (_obj->*_input)(fd);