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
/
CXX
/
dcl.dcl
/
dcl.attr
/
dcl.attr.unused
/
p4.cpp
blob
d4a275930d64ea945aebf7297c7042d111f25ece
1
// RUN: %clang_cc1 -fsyntax-only -Wunused -std=c++1z -verify %s
2
// expected-no-diagnostics
3
4
void
f
();
5
[[
maybe_unused
]]
void
f
();
6
7
void
f
() {
8
}