[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / lldb / packages / Python / lldbsuite / test / sample_test / main.c
blob0164d7155b0977eb927766edc0e9b6bd6264efbe
1 #include <stdio.h>
3 int
4 main()
6 int test_var = 10;
7 printf ("Set a breakpoint here: %d.\n", test_var);
8 //% test_var = self.frame().FindVariable("test_var")
9 //% test_value = test_var.GetValueAsUnsigned()
10 //% self.assertTrue(test_var.GetError().Success(), "Failed to fetch test_var")
11 //% self.assertEqual(test_value, 10, "Failed to get the right value for test_var")
12 return 0;