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
/
gh48974.cpp
blob
7963107b06f5ea2981baffcf4c1ba00aae7df219
1
// RUN: %clang_cc1 -Werror=unused-parameter -Wfatal-errors -verify %s
2
3
void
a
(
int
&&
s
) {}
// expected-error{{unused parameter 's'}}
4
5
void
b
() {
6
int
sum
=
a
(
0
);
7
}