aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20000605-1.c
blob: 931c5826270529b7607d105006caa1f594f3e306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright (C) 2000 Free Software Foundation */

/* make sure we don't get confused by various flavours of void */

/* Origin:  Jakub Jelinek  <jakub@redhat.com>
 *          Joel Sherrill <joel.sherrill@OARcorp.com>
 */

typedef void foo;
foo bar(void);
void baz(void)
{
  bar();
}

void volatile f();

int x()
{
  f();
}