aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-varobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-varobj.c')
-rw-r--r--gdb/testsuite/gdb.python/py-varobj.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-varobj.c b/gdb/testsuite/gdb.python/py-varobj.c
index 894ce8f..88d0e74 100644
--- a/gdb/testsuite/gdb.python/py-varobj.c
+++ b/gdb/testsuite/gdb.python/py-varobj.c
@@ -21,6 +21,8 @@ struct test {
struct test tval = {23};
+struct test *test_ptr = &tval;
+
int main () {
return 0;
}