summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2004-07-06-FunctionCast.c
blob: 32931e2fce7156c023f2b5a7bd71a901ffcd5526 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

static int unused_func(void) {
  return 1;
}

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