From 2341380033491993ebf4675500d09fc842a53442 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Tue, 15 Nov 2011 21:13:13 +0000 Subject: Add test scenario for value.GetChildAtIndex(0) where value is a pointer to a simple type. llvm-svn: 144697 --- lldb/test/python_api/value/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/test/python_api/value/main.c') diff --git a/lldb/test/python_api/value/main.c b/lldb/test/python_api/value/main.c index 0554ff0284b..afe4f0ed8bb 100644 --- a/lldb/test/python_api/value/main.c +++ b/lldb/test/python_api/value/main.c @@ -31,6 +31,8 @@ const char **g_table[2] = { days_of_week, weekdays }; int main (int argc, char const *argv[]) { int i; + int *my_int_ptr = &g_my_int; + printf("my_int_ptr points to location %p\n", my_int_ptr); const char **str_ptr = days_of_week; for (i = 0; i < 7; ++i) printf("%s\n", str_ptr[i]); // Break at this line -- cgit v1.2.3