1 // RUN: env CINDEXTEST_SKIP_FUNCTION_BODIES=1 c-index-test -test-load-source all %s -Wunused-parameter 2>&1 \ 2 // RUN: | FileCheck %s 3 4 // No 'unused parameter' warnings should be shown when skipping the function bodies. foo(int used,int unused)5inline int foo(int used, int unused) { 6 used = 100; 7 } 8 // CHECK-NOT: warning: unused parameter 9