Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pragma-unused.cpp « SemaCXX « test « clang - github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c9ddffafafa92cb8249e464b504f4b038365b3ad (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)
  }
};