summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20000605-1.c
blob: 1fe5882340f31abcc2db489a220cea42269ae85a (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 flavors 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();
}