diff options
Diffstat (limited to 'gdb/testsuite/gdb.trace/unavailable.cc')
-rw-r--r-- | gdb/testsuite/gdb.trace/unavailable.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.trace/unavailable.cc b/gdb/testsuite/gdb.trace/unavailable.cc index 23c709b..d25837d 100644 --- a/gdb/testsuite/gdb.trace/unavailable.cc +++ b/gdb/testsuite/gdb.trace/unavailable.cc @@ -30,6 +30,15 @@ typedef struct TEST_STRUCT { double memberd; } test_struct; +struct small_struct +{ + int member; +}; + +struct small_struct_b : public small_struct +{ +}; + typedef int test_array [4]; /* Global variables to be collected. */ @@ -41,6 +50,8 @@ double globald; test_struct globalstruct; test_struct *globalp; int globalarr[16]; +small_struct g_smallstruct; +small_struct_b g_smallstruct_b; /* Strings. */ |