summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/net28.C
blob: 5cac8563c7102aa1b2076ceb89ebcc1fda0a0826 (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
28
// { dg-do assemble  }
// From reinhard@ifki50.informatik.fh-muenchen.de against gcc 2.5.0.
// shows an InterViews problem on RS6000 and i386.  Doesn't happen on
// SPARC.

// From fbrowser.c.


class test {
};


typedef int ( test    ::*   test2)(int fd);

class    ivFileBrowserImpl_IOCallback
{
 public:

 int inputReady(int fd);
  test    * _obj;
  test2   _input;
}; 


int    ivFileBrowserImpl_IOCallback  ::inputReady(int fd)
{
        return (_obj->*_input)(fd);
}