1 #include "ignore-warnings-from-headers.h"
3 void g(int unusedInMainFile
) {}
5 // RUN: env CINDEXTEST_IGNORE_NONERRORS_FROM_INCLUDED_FILES=1 c-index-test -test-load-source function %s -Wunused-parameter 2>&1 | FileCheck %s
6 // CHECK-NOT: warning: unused parameter 'unusedInHeader'
7 // CHECK: warning: unused parameter 'unusedInMainFile'