Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
      2 
      3 static int unused_func(void) {
      4   return 1;
      5 }
      6 
      7 int foo(void) {
      8   (void)unused_func; /* avoid compiler warning */
      9   return 2;
     10 }
     11