summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-console.c
blob: ba6345490478eec6bef165abaa7e9ffab17340f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <unistd.h>

void
hello ()
{
  char *hello = "Hello \\\"!\r\n";
  int i;
  for (i = 0; hello[i]; i++)
    write (1, hello + i, 1);
}

int
main ()
{
  hello ();

  return 0;  /* after-hello */
}