summaryrefslogtreecommitdiff
path: root/test/FrontendC/2004-07-06-FunctionCast.c
blob: 169f74036423c4d59b13e73dc7ee168611bc14fe (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null

static int unused_func(void) {
  return 1;
}

int foo(void) {
  (void)unused_func; /* avoid compiler warning */
  return 2;
}