summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/pragma-unused.cpp
blob: c9ddffafafa92cb8249e464b504f4b038365b3ad (about) (plain)
1
2
3
4
5
6
7
8
// 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)
  }
};