Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaCXX / pragma-unused.cpp
blobc9eaab6d3f50cddf18f4fc5234836d5332398c35
1 // RUN: %clang_cc1 -fsyntax-only -Wunused-parameter -Wunused -verify %s
2 // expected-no-diagnostics
4 struct S {
5 void m(int x, int y) {
6 int z;
7 #pragma unused(x,y,z)
9 };