xref: /netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.mi/mi-console.c (revision 32d1c65c71fbdb65a012e8392a62a757dd6853e9)
1 #include <unistd.h>
2 
3 void
4 hello ()
5 {
6   char *hello = "Hello \\\"!\r\n";
7   int i;
8   for (i = 0; hello[i]; i++)
9     write (1, hello + i, 1);
10 }
11 
12 int
13 main ()
14 {
15   hello ();
16 
17   return 0;  /* after-hello */
18 }
19