YouCompleteMe/cpp/llvm/tools/clang/test/SemaCXX/pragma-unused.cpp

9 lines
153 B
C++
Raw Normal View History

// RUN: %clang_cc1 -fsyntax-only -Wunused-parameter -Wunused -verify %s
struct S {
void m(int x, int y) {
int z;
#pragma unused(x,y,z)
}
};