aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld.cdtest/cdtest-foo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld.cdtest/cdtest-foo.h')
-rw-r--r--ld/testsuite/ld.cdtest/cdtest-foo.h4
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 35b3a5c..0ba2d37 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;
- static const int len;
- char message[FOO_MSG_LEN];
+ const len = FOO_MSG_LEN;
+ char message[len];
public:
static void init_foo ();
static int nb_foos() { return foos; }