Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / macosx / stack-corefile / main.c
blobafc206b6de847ad5cd1ada8f5f13b2fdb602b3f4
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
4 int main() {
5 int stack_int = 5;
6 int *heap_int = (int*) malloc(sizeof (int));
7 *heap_int = 10;
9 char stack_str[] = "stack string";
10 char *heap_str = (char*) malloc(80);
11 strcpy (heap_str, "heap string");
13 return stack_int; // break here;