Files
clang-p2996/lldb/test/functionalities/process_attach/main.c
Andrew Kaylor 46791da61a Adding test for non-API process attach
llvm-svn: 180977
2013-05-03 00:10:27 +00:00

15 lines
275 B
C

#include <stdio.h>
#include <unistd.h>
int main(int argc, char const *argv[]) {
// Waiting to be attached by the debugger.
int temp = 0;
while (temp < 30) // Waiting to be attached...
{
sleep(1);
temp++;
}
printf("Exiting now\n");
}