diff options
Diffstat (limited to 'ld/testsuite/ld.cdtest/cdtest-foo.h')
-rw-r--r-- | ld/testsuite/ld.cdtest/cdtest-foo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld.cdtest/cdtest-foo.h b/ld/testsuite/ld.cdtest/cdtest-foo.h index 0ba2d37..35b3a5c 100644 --- a/ld/testsuite/ld.cdtest/cdtest-foo.h +++ b/ld/testsuite/ld.cdtest/cdtest-foo.h @@ -11,8 +11,8 @@ class Foo { static int foos; int i; - const len = FOO_MSG_LEN; - char message[len]; + static const int len; + char message[FOO_MSG_LEN]; public: static void init_foo (); static int nb_foos() { return foos; } |