merge from gcc
[external/binutils.git] / ld / testsuite / ld-cdtest / cdtest-foo.h
index 9805e38..f36efb7 100644 (file)
 class Foo {
     static int foos;
     int i;
-    const int len = FOO_MSG_LEN;
+    static const int len = FOO_MSG_LEN;
     char message[len];
 public: 
     static void init_foo ();
     static int nb_foos() { return foos; }
     Foo();
-    Foo( char* message);
+    Foo(const char* message);
     Foo(const Foo&);
     Foo & operator= (const Foo&);
     ~Foo ();