repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
pragma-unused.cpp
blob
c9eaab6d3f50cddf18f4fc5234836d5332398c35
1
// RUN: %clang_cc1 -fsyntax-only -Wunused-parameter -Wunused -verify %s
2
// expected-no-diagnostics
3
4
struct
S
{
5
void
m
(
int
x
,
int
y
) {
6
int
z
;
7
#pragma unused(x,y,z)
8
}
9
};