aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/m-static.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/m-static.h')
-rw-r--r--gdb/testsuite/gdb.cp/m-static.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/m-static.h b/gdb/testsuite/gdb.cp/m-static.h
index 137d3b7..012cd77 100644
--- a/gdb/testsuite/gdb.cp/m-static.h
+++ b/gdb/testsuite/gdb.cp/m-static.h
@@ -7,5 +7,8 @@ class gnu_obj_4
static const int nowhere;
// At some point, perhaps:
// static const int everywhere = 317;
+
+ // try to ensure test4 is actually allocated
+ int dummy;
};