6e0a904fd0
Don't require use of fixed C++ header files, so "../gcc/xgcc -B../gcc/" ought to work for CXX. In cdtest.exp: Combine "rm" lines. Added some commentary on things still broken in this test case.
24 lines
404 B
C++
24 lines
404 B
C++
// Class Foo
|
|
|
|
#pragma interface
|
|
|
|
#define FOOLISH_NUMBER -4711
|
|
|
|
#ifndef FOO_MSG_LEN
|
|
#define FOO_MSG_LEN 80
|
|
#endif
|
|
|
|
class Foo {
|
|
static int foos;
|
|
int i;
|
|
static const int len;
|
|
char message[FOO_MSG_LEN];
|
|
public:
|
|
static void init_foo ();
|
|
static int nb_foos() { return foos; }
|
|
Foo();
|
|
Foo( char* message);
|
|
Foo(const Foo&);
|
|
Foo & operator= (const Foo&);
|
|
~Foo ();
|
|
};
|