diff options
Diffstat (limited to 'packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/main.c')
-rw-r--r-- | packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/main.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/main.c b/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/main.c new file mode 100644 index 000000000000..73346969eccc --- /dev/null +++ b/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/main.c @@ -0,0 +1,11 @@ +void* foo(void *p) +{ + return p; // break here +} + +int main() { + while (1) { + foo(0); + } + return 0; +} |