1*85e51565SEric Christopher // RUN: %clang_cc1 -emit-llvm %s -o /dev/null 2*85e51565SEric Christopher unused_func(void)3*85e51565SEric Christopherstatic int unused_func(void) { 4*85e51565SEric Christopher return 1; 5*85e51565SEric Christopher } 6*85e51565SEric Christopher foo(void)7*85e51565SEric Christopherint foo(void) { 8*85e51565SEric Christopher (void)unused_func; /* avoid compiler warning */ 9*85e51565SEric Christopher return 2; 10*85e51565SEric Christopher } 11