Correct cdtest g++ version test
[deliverable/binutils-gdb.git] / ld / testsuite / ld-cdtest / cdtest-foo.h
index 9805e38b70d26f2c9d2cf301ecacd0f19bb85eba..f36efb7fc9abf4113ae7ebdde91b04919d1bd980 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 ();
This page took 0.023455 seconds and 4 git commands to generate.