summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/sound.c
blob: be727e3febb0ce00eb9d81b66190524888839934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
main ()
{
  char audio[8192];
  int i;

  for (i = 0;  i < 4095;  i += 1)
    audio[i] = i / 8,
    audio[8191 - i] = i / 8;

  for (;;)
    write (1, audio, 8192);
}