[clang] Fix implicit integer conversion for opaque enums declared in class templates...
[llvm-project.git] / lldb / test / API / python_api / process / io / main.c
blobc9a5707f0e1758aec1dc0d4be1d0515b8f15305c
1 #include <stdio.h>
3 int main(int argc, char const *argv[]) {
4 printf("Hello world.\n"); // Set breakpoint here
5 char line[100];
6 if (fgets(line, sizeof(line), stdin)) {
7 fprintf(stdout, "input line to stdout: %s", line);
8 fprintf(stderr, "input line to stderr: %s", line);
10 if (fgets(line, sizeof(line), stdin)) {
11 fprintf(stdout, "input line to stdout: %s", line);
12 fprintf(stderr, "input line to stderr: %s", line);
14 if (fgets(line, sizeof(line), stdin)) {
15 fprintf(stdout, "input line to stdout: %s", line);
16 fprintf(stderr, "input line to stderr: %s", line);
18 printf("Exiting now\n");