Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / Shell / Heap / Inputs / cstr.c
blob2f9117b635e5b0a7dc1ffb733e141e069796bfb5
1 #include <stdlib.h>
3 int main(void) {
4 char *str;
5 int size = 9; //strlen("patatino") + 1
6 str = (char *)malloc(sizeof(char)*size);
7 *(str+0) = 'p';
8 *(str+1) = 'a';
9 *(str+2) = 't';
10 *(str+3) = 'a';
11 *(str+4) = 't';
12 *(str+5) = 'i';
13 *(str+6) = 'n';
14 *(str+7) = 'o';
15 *(str+8) = '\0';
16 return 0;