aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/misc.cc')
-rw-r--r--gdb/testsuite/gdb.cp/misc.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/misc.cc b/gdb/testsuite/gdb.cp/misc.cc
index d461d6d..41fb9d2 100644
--- a/gdb/testsuite/gdb.cp/misc.cc
+++ b/gdb/testsuite/gdb.cp/misc.cc
@@ -24,6 +24,9 @@ bool v_bool_array[2];
typedef struct fleep fleep;
struct fleep { int a; } s;
+int number;
+int &number_ref = number;
+
// ====================== simple class structures =======================
struct default_public_struct {