summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/value/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/value/main.c')
-rw-r--r--lldb/test/python_api/value/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/test/python_api/value/main.c b/lldb/test/python_api/value/main.c
index afe4f0ed8bb..a00795750de 100644
--- a/lldb/test/python_api/value/main.c
+++ b/lldb/test/python_api/value/main.c
@@ -28,9 +28,19 @@ const char *weekdays[5] = { "Monday",
const char **g_table[2] = { days_of_week, weekdays };
+typedef int MyInt;
+
+struct MyStruct
+{
+ int a;
+ int b;
+};
+
int main (int argc, char const *argv[])
{
int i;
+ MyInt a = 12345;
+ struct MyStruct s = { 11, 22 };
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;
OpenPOWER on IntegriCloud